/* ==========================================================================
   MYTHOVA // AI SECOND BRAIN - ULTRA DARK & NEON GLOW STYLESHEET
   ========================================================================== */

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

:root {
  --bg-pure-black: #000000;
  --bg-dark-surface: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  
  --neon-green: #00FF66;
  --neon-green-glow: rgba(0, 255, 102, 0.4);
  --neon-green-subtle: rgba(0, 255, 102, 0.12);
  --neon-green-border: rgba(0, 255, 102, 0.25);
  
  --telegram-blue: #229ED9;
  --notion-dark: #191919;
  --notion-border: rgba(255, 255, 255, 0.08);
  
  --warning-red: #FF334B;
  --warning-red-glow: rgba(255, 51, 75, 0.4);
  
  --text-white: #FFFFFF;
  --text-grey: #888888;
  --text-dim: #555555;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  background-color: var(--bg-pure-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Background Cyber Grid & Ambient Glows */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

.ambient-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, rgba(0, 255, 102, 0.16) 0%, rgba(0, 255, 102, 0.03) 45%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-middle {
  position: absolute;
  width: min(550px, 80vw);
  height: min(550px, 80vw);
  background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Neon Glow Components */
.neon-glow-btn {
  background-color: var(--neon-green);
  color: #000000;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 25px var(--neon-green-glow), 0 0 10px rgba(0, 255, 102, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  text-decoration: none;
}

.neon-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.65), 0 0 15px rgba(0, 255, 102, 0.4);
  filter: brightness(1.05);
}

.neon-glow-btn:active {
  transform: translateY(1px);
}

.neon-glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.neon-glow-btn:hover::after {
  transform: translateX(100%);
}

.neon-badge {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--neon-green-border);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}

.neon-border {
  border: 1px solid var(--neon-green-border);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.08);
}

.neon-text-glow {
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
}

.warning-badge {
  background: rgba(255, 51, 75, 0.1);
  border: 1px solid rgba(255, 51, 75, 0.35);
  color: var(--warning-red);
  box-shadow: 0 0 15px rgba(255, 51, 75, 0.2);
}

.warning-glow-icon {
  filter: drop-shadow(0 0 12px var(--warning-red-glow));
}

.neon-glow-icon {
  filter: drop-shadow(0 0 12px var(--neon-green-glow));
}

/* Glassmorphism Cards */
.dark-card {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.dark-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.dark-card-neon {
  background: linear-gradient(180deg, rgba(16, 26, 19, 0.75) 0%, rgba(10, 14, 11, 0.96) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 255, 102, 0.25);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.09);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #222222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Pulse Keyframes */
@keyframes neonPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.96);
  }
}

.animate-pulse-slow {
  animation: neonPulse 3s infinite ease-in-out;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Telegram Chat Simulator Styling */
.telegram-window {
  background: #0d1217;
  border: 1px solid rgba(34, 158, 217, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 158, 217, 0.1);
}

.telegram-bubble-user {
  background: #2b5278;
  color: #ffffff;
  border-radius: 14px 14px 2px 14px;
}

.telegram-bubble-bot {
  background: #182533;
  color: #e4ecf2;
  border-radius: 14px 14px 14px 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.telegram-typing-dot {
  width: 6px;
  height: 6px;
  background: #00FF66;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.telegram-typing-dot:nth-child(1) { animation-delay: 0s; }
.telegram-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.telegram-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Notion Workspace Simulator Styling */
.notion-window {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.notion-property-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notion-callout {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--neon-green);
  border-radius: 6px;
}

.notion-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.custom-input {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.custom-input:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.35);
  background: rgba(22, 22, 22, 0.95);
}
