/* Custom Color Variables */
:root {
  --primary: #2563eb;
  --primary-glow: #1d4ed8;
  --navy-950: #020617;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --accent-blue: #3b82f6;
  --accent-orange: #f97316;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
}

/* Body Styles */
body {
  min-height: max(884px, 100dvh);
  background-color: var(--navy-950);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--slate-200);
  overflow-x: hidden;
}

body::selection {
  background-color: rgba(37, 99, 235, 0.3);
}

/* Glass Morphism Effect */
.glass-morphism {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Effects */
.glow-cobalt {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.2;
}

/* Border Radius Utilities */
.rounded-glass {
  border-radius: 24px;
}

.rounded-node {
  border-radius: 16px;
}

/* Background Grid */
.grid-bg {
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Fixed Background Container */
.fixed-bg-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Navbar Styles */
.navbar-custom {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 80px;
}

.navbar-brand-box {
  background-color: rgba(37, 99, 235, 0.2);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Button Styles */
.btn-primary-custom {
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary-custom:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.btn-primary-small {
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-primary-small:hover {
  filter: brightness(1.1);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 700;
  border-radius: 24px;
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Badge Pulse Animation */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse-text {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--primary);
}

/* Hero Typography */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  color: var(--slate-400);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (min-width: 992px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Image Container */
.app-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

@media (min-width: 992px) {
  .app-container {
    max-width: none;
  }
}

.app-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature Cards */
.feature-card {
  padding: 2rem;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.feature-card-primary {
  border-color: rgba(37, 99, 235, 0.2);
  background-color: rgba(37, 99, 235, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-blue {
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-icon-primary {
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.feature-icon-orange {
  background-color: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* CTA Section */
.cta-container {
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-blur-primary {
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  background-color: rgba(37, 99, 235, 0.1);
  filter: blur(80px);
  border-radius: 50%;
}

.cta-blur-blue {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 256px;
  height: 256px;
  background-color: rgba(59, 130, 246, 0.1);
  filter: blur(80px);
  border-radius: 50%;
}

/* Footer Styles */
.footer-custom {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--navy-950);
}

.footer-link {
  font-size: 10px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-badge {
  font-size: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.footer-badge-active {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary);
}

.text-accent-blue {
  color: var(--accent-blue);
}

.text-accent-orange {
  color: var(--accent-orange);
}

.text-white {
  color: white;
}

.text-slate-400 {
  color: var(--slate-400);
}

.text-slate-500 {
  color: var(--slate-500);
}

.text-slate-600 {
  color: var(--slate-600);
}

.bg-navy-900-50 {
  background-color: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.uppercase {
  text-transform: uppercase;
}

.font-light {
  font-weight: 300;
}

/* Material Icons Size */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icon-24 {
  font-size: 24px;
}

.icon-32 {
  font-size: 32px;
}

/* Aspect Ratio Helper */
.aspect-square {
  aspect-ratio: 1;
}


/****** Doc styles ******/

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

        code {
                border-color: rgba(37, 99, 235, 0.2);
    background-color: rgba(37, 99, 235, 0.25);
            padding: 2px 6px;
            border-radius: 3px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            color: #c7254e;
        }
        
       .example pre code {
            background-color: transparent;
            border: none;
            padding: 0;
            color: #f8f8f2;
        }
        
        .toc {
            background-color: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 5px;
            padding: 20px;
            margin-bottom: 30px;
        }
        
        .toc h2 {
            margin-top: 0;
            border-bottom: none;
        }
        
        .toc ul {
            list-style: none;
            padding-left: 0;
        }
        
        .toc li {
            margin-bottom: 8px;
        }
        
        .toc a {
            color: #4A90E2;
            text-decoration: none;
        }
        
        .toc a:hover {
            text-decoration: underline;
        }
        
        .note {
            /* background-color: #e3f2fd; */
                
    background-color: rgba(37, 99, 235, 0.5);
            border-left: 4px solid #2196F3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .warning {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .workflow-diagram {
            background-color: #000;
            border: 2px solid #4A90E2;
            border-radius: 5px;
            padding: 20px;
            margin: 20px 0;
            font-family: monospace;
            text-align: center;
        }
        
        .example {
            background-color: #222222;
            border-left: 4px solid #28a745;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .example-title {
            font-weight: 600;
            color: #28a745;
            margin-bottom: 10px;
        }
        
        .pattern {
            background-color: rgba(37, 99, 235, 0.3);
            border: 1px solid #111;
            border-radius: 5px;
            padding: 20px;
            margin: 25px 0;
        }
        
        .pattern h3 {
            color: #4A90E2;
            margin-top: 0;
        }
        
        .highlight {
            background-color: #fff3cd;
            padding: 2px 4px;
            border-radius: 3px;
        }
        
        hr {
            border: none;
            border-top: 2px solid #e0e0e0;
            margin: 40px 0;
        }