/* DataCraves Main Stylesheet */

/* Variables */
:root {
  --primary-color: #6D28D9;  /* Purple */
  --secondary-color: #4F46E5;  /* Indigo */
  --accent-color: #9333EA;  /* Violet */
  --dark-color: #121212;  /* Very dark */
  --dark-secondary: #1E1E1E; /* Dark gray */
  --light-color: #E0E0FF;  /* Light purple-ish */
  --text-color: #E5E5E5;  /* Off-white */
  --text-secondary: #AAAAAA; /* Light gray */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --neon-glow: 0 0 10px rgba(147, 51, 234, 0.5), 0 0 20px rgba(147, 51, 234, 0.3);
}

/* Base Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--dark-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-color);
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background-color: rgba(18, 18, 18, 0.95);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--light-color);
  text-shadow: var(--neon-glow);
  position: relative;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

.navbar-brand-dot {
  color: var(--accent-color);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 1.5rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: var(--neon-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Add padding for fixed navbar */
  position: relative;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
  overflow: hidden;
}

.scroll-arrow {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.8rem;
  animation: bounce 2s infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 1000;
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.8), 0 0 30px rgba(147, 51, 234, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
    box-shadow: 0 0 25px rgba(147, 51, 234, 1), 0 0 40px rgba(147, 51, 234, 0.6);
  }
  60% {
    transform: translateY(-12px) translateX(-50%);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.9), 0 0 30px rgba(147, 51, 234, 0.5);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(109, 40, 217, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 95%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--light-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: var(--neon-glow);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  max-width: 90%;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

.hero .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.hero .btn-primary:hover::before {
  left: 100%;
}

.hero .btn-outline {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: transparent;
  color: var(--light-color);
  border: 2px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--accent-color);
  z-index: -1;
  transition: width 0.3s ease;
}

.hero .btn-outline:hover {
  color: var(--dark-color);
}

.hero .btn-outline:hover::before {
  width: 100%;
}

/* Features Section */
.features {
  background-color: var(--dark-secondary);
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--light-color) 0%, var(--accent-color) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.section-title h2::after {
  content: '';
  position: absolute;
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: var(--neon-glow);
}

.feature-card {
  background-color: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transition: height 0.4s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: var(--accent-color);
  font-size: 2rem;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.2);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
  transform: scale(1.05);
  box-shadow: var(--neon-glow);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--light-color);
  font-weight: 700;
  transition: var(--transition);
}

.feature-card:hover .feature-title {
  color: var(--accent-color);
}

/* Services Section */
.services {
  background-color: var(--dark-color);
  position: relative;
  z-index: 1;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 70% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(79, 70, 229, 0.1) 0%, transparent 40%);
  z-index: -1;
}

.service-card {
  background-color: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  backdrop-filter: blur(5px);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.service-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.service-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.8s ease;
}

.service-card:hover .service-img::after {
  left: 100%;
}

.service-content {
  padding: 1.8rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--light-color);
  transition: var(--transition);
}

.service-card:hover .service-title {
  color: var(--accent-color);
}

.service-content p {
  color: var(--text-secondary);
}

/* Demo Section */
.demo {
  background-color: var(--dark-secondary);
  position: relative;
  overflow: hidden;
}

.demo::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.demo::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.demo-container {
  background-color: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  color: var(--light-color);
  position: relative;
  z-index: 1;
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(5px);
}

.terminal {
  font-family: 'Fira Code', monospace;
  padding: 1.5rem;
  background-color: #1a1a1a;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.terminal-line {
  display: flex;
  margin-bottom: 0.75rem;
}

.terminal-prompt {
  color: var(--accent-color);
  margin-right: 1rem;
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background-color: white;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Chart & Analytics Visualizations */
.chart-container {
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  background-color: white;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

/* About Section */
.about {
  background-color: var(--light-color);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e5e7eb;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  font-size: 2rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--text-color);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background-color: var(--dark-color);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.contact-info {
  margin-bottom: 2.5rem;
}

.contact-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--light-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  color: var(--accent-color);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-item:hover .contact-icon {
  box-shadow: var(--neon-glow);
  transform: scale(1.05);
}

.contact-info-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact-info-text a {
  color: var(--light-color);
  transition: var(--transition);
}

.contact-info-text a:hover {
  color: var(--accent-color);
}

.contact-form .form-control {
  border-radius: var(--border-radius-lg);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  background-color: rgba(18, 18, 18, 0.6);
  color: var(--light-color);
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
  background-color: rgba(30, 30, 30, 0.8);
}

.contact-form .form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.contact-form textarea.form-control {
  min-height: 160px;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.contact-form .btn-primary:hover::before {
  left: 100%;
}

/* Footer */
.footer {
  background-color: rgba(9, 9, 11, 0.95);
  color: var(--text-secondary);
  padding: 4rem 0 1.5rem;
  position: relative;
  border-top: 1px solid rgba(147, 51, 234, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(147, 51, 234, 0.3) 50%, 
    transparent 100%);
  box-shadow: var(--neon-glow);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--light-color);
  margin-bottom: 1.2rem;
  display: inline-block;
  text-shadow: var(--neon-glow);
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 400px;
}

.footer-links h5 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  box-shadow: var(--neon-glow);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-color);
  transition: var(--transition);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
}

/* AI Chat Demo */
.ai-chat {
  background-color: rgba(18, 18, 18, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.2);
  backdrop-filter: blur(5px);
  max-width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.ai-chat:hover {
  box-shadow: var(--neon-glow), var(--box-shadow);
  border-color: rgba(147, 51, 234, 0.4);
}

.chat-header {
  padding: 1.2rem;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-icon {
  margin-right: 1rem;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.chat-header-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.chat-body {
  height: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  background-color: rgba(18, 18, 18, 0.8);
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(30, 30, 30, 0.5);
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-track {
  background: rgba(30, 30, 30, 0.5);
  border-radius: 3px;
}

.chat-body::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}

.chat-message {
  margin-bottom: 1.5rem;
  display: flex;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

.chat-message.user .chat-avatar {
  order: 1;
  margin-right: 0;
  margin-left: 12px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.chat-bubble-container {
  max-width: 70%;
  display: flex;
  flex-direction: column;
}

.chat-timestamp {
  font-size: 0.7rem;
  margin-top: 4px;
  color: var(--text-secondary);
  opacity: 0.7;
  align-self: flex-start;
}

.chat-message.user .chat-timestamp {
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.8rem 1.2rem;
  border-radius: 18px;
  position: relative;
  line-height: 1.5;
  font-size: 0.95rem;
}

.chat-message.ai .chat-bubble {
  background-color: rgba(30, 30, 30, 0.8);
  color: var(--text-color);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chat-footer {
  padding: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(18, 18, 18, 0.9);
}

.chat-input-container {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.chat-input {
  flex-grow: 1;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 24px;
  transition: var(--transition);
  background-color: rgba(30, 30, 30, 0.6);
  color: var(--light-color);
}

.chat-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
  background-color: rgba(30, 30, 30, 0.8);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--neon-glow), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Data Visualization Section */
.data-viz {
  background-color: var(--dark-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.data-viz::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 40%);
  z-index: -1;
}

.viz-card {
  background-color: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(5px);
}

.viz-card:hover {
  transform: translateY(-7px);
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.viz-card-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.viz-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.chart-wrapper {
  background-color: rgba(18, 18, 18, 0.5);
  border-radius: var(--border-radius);
  padding: 1rem;
  height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.1);
}

.chart-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 8px;
}

.legend-label {
  transition: var(--transition);
}

.legend-item:hover .legend-label {
  color: var(--light-color);
}

/* Hero Gradient Background */
.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(147, 51, 234, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(79, 70, 229, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-title {
  background: linear-gradient(90deg, var(--light-color) 0%, var(--accent-color) 50%, var(--light-color) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 6s linear infinite;
}

/* CTA Section Gradient */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(147, 51, 234, 0.1) 0%, 
    rgba(79, 70, 229, 0.1) 50%, 
    rgba(139, 92, 246, 0.1) 100%);
  z-index: -1;
}

.cta .container {
  position: relative;
  z-index: 1;
}

/* Pricing Section */
.pricing-card {
  background-color: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-7px);
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-subtitle {
  color: var(--light-color);
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  margin-right: 2px;
  margin-top: 5px;
}

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-left: 4px;
}

.custom-text {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--accent-color);
  margin-right: 10px;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--neon-glow), var(--box-shadow);
}

.pricing-card.featured:hover {
  transform: translateY(-7px) scale(1.05);
}

.popular-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-align: center;
  margin: 0 auto;
  display: block;
  width: fit-content;
  animation: pulse-badge 2s infinite;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-list li i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Demo text styling */
.demo-text {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background-color: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(147, 51, 234, 0.1);
}

/* Section styling */
.section-title {
  margin-bottom: 3rem;
}

/* Media Queries for Pricing cards */
@media (max-width: 992px) {
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-7px);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .feature-card, .service-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .navbar .container {
    flex-direction: column;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .nav-link {
    margin-left: 0;
    margin-right: 1rem;
  }
  
  .hero-cta .col-10 {
    margin-bottom: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .feature-card, .service-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .hero-cta .row {
    margin: 0;
  }
  
  .hero-cta .col-10 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0.5rem 2rem;
  }
  
  .btn-lg {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-left {
  opacity: 0;
  animation: fadeInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
  opacity: 0;
  animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.blur-in {
  opacity: 0;
  filter: blur(10px);
  animation: blurIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.glow-pulse {
  animation: glowPulse 2s infinite;
}

/* Animation delays */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-700 {
  animation-delay: 700ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blurIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(147, 51, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(147, 51, 234, 0.5);
  }
}

/* Text animation */
.text-gradient-animate {
  background-size: 200% auto;
  background-image: linear-gradient(90deg, var(--light-color) 0%, var(--accent-color) 50%, var(--light-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* Typing animation */
.typing-animation {
  border-right: 2px solid var(--accent-color);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-color) }
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(147, 51, 234, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
