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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --bg-dark: #07080d;
  --bg-card: rgba(15, 18, 30, 0.7);
  --bg-card-hover: rgba(22, 26, 44, 0.8);
  --primary: #9d4edd;
  --primary-light: #c77dff;
  --primary-dark: #7b2cbf;
  --secondary: #3f37c9;
  --accent: #4895ef;
  --text-primary: #f8f9fa;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(157, 78, 221, 0.4);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom background glow effects */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(63, 55, 201, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-blob-1 {
  top: -100px;
  right: -100px;
}

.glow-blob-2 {
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, rgba(72, 149, 239, 0.12) 0%, rgba(63, 55, 201, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
}

.glow-blob-3 {
  bottom: -100px;
  right: -100px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(157, 78, 221, 0.25);
  box-shadow: 0 12px 40px 0 rgba(157, 78, 221, 0.1);
  transform: translateY(-4px);
}

/* Custom pricing active state */
.pricing-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(157, 78, 221, 0.2);
}

/* Glowing text */
.glow-text {
  text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

/* Hover effects for buttons */
.btn-glow {
  position: relative;
  transition: all 0.3s ease;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}

.btn-glow:hover::after {
  opacity: 0.6;
}

/* Mockup browser window styling */
.browser-mockup {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: #0b0c10;
  transform: perspective(1000px) rotateX(2deg);
}

.browser-header {
  background: #11131a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-address {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  flex-grow: 1;
  margin: 0 40px;
  max-width: 400px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
}

/* Custom interactive tab buttons */
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px) perspective(1000px) rotateX(2deg); }
  50% { transform: translateY(-10px) perspective(1000px) rotateX(1deg); }
  100% { transform: translateY(0px) perspective(1000px) rotateX(2deg); }
}

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

/* Pulse animation for CTA */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(157, 78, 221, 0); }
  100% { box-shadow: 0 0 0 0 rgba(157, 78, 221, 0); }
}

.animate-pulse-border {
  animation: pulse-border 2s infinite;
}

/* Gradient borders */
.gradient-border {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  border: 1px solid transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .browser-mockup {
    transform: none !important;
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }
  
  .browser-address {
    margin: 0 10px;
    font-size: 10px;
  }
  
  .glow-blob {
    width: 300px;
    height: 300px;
    filter: blur(50px);
  }
}
