/* Base Styles */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #1e293b;
  --secondary-hover: #334155;
  --secondary-foreground: #ffffff;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --accent: #1e293b;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #1e293b;
  --input: #1e293b;
  --ring: #3b82f6;
  --radius: 0.5rem;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--blue-600);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--blue-700);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--blue-600);
  color: var(--blue-400);
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  margin-left: 0.5rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

.btn-send {
  position: relative;
  overflow: hidden;
}

.btn-send::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--blue-600), var(--blue-400));
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-send:hover::before {
  transform: translateY(0);
}

.btn-send i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-send:hover i {
  transform: translateX(3px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.desktop-nav {
  display: none;
}

.nav-link {
  margin-left: 2rem;
  color: #d1d5db;
  transition: color 0.3s ease;
}

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

.mobile-menu-btn {
  background: none;
  border: none;
  color: #d1d5db;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding-top: 1.25rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.mobile-nav.active {
  display: flex;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 5rem;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.4), rgba(0, 0, 0, 1));
  z-index: 0;
}

.particles-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.particle {
  position: absolute;
  background-color: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  25% {
    opacity: 0.5;
  }
  50% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0.8;
  }
  75% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-200px) translateX(0);
    opacity: 0;
  }
}

.network-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  z-index: 0;
}

.network-line {
  position: absolute;
  height: 1px;
  background: rgba(59, 130, 246, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 5rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(59, 130, 246, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background-color: var(--blue-500);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: rgba(59, 130, 246, 0.1);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: background-color 0.3s ease;
}

.feature-card:hover {
  background-color: rgba(59, 130, 246, 0.15);
}

.feature-card i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.feature-card h3 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: #9ca3af;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  height: 400px;
  animation: float 6s ease-in-out infinite;
}

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

.ai-head-container {
  width: 300px;
  height: 400px;
  position: relative;
  margin: 0 auto;
}

.ai-head {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.2));
  border-radius: 100px 100px 70px 70px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  overflow: hidden;
  animation: head-pulse 4s infinite ease-in-out;
}

@keyframes head-pulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
  }
}

.ai-face {
  position: relative;
  width: 100%;
  height: 100%;
}

.ai-eye {
  position: absolute;
  width: 20px;
  height: 8px;
  background: rgba(59, 130, 246, 0.8);
  border-radius: 10px;
  top: 80px;
  animation: eye-blink 3s infinite;
}

.ai-eye.left {
  left: 50px;
}

.ai-eye.right {
  right: 50px;
}

@keyframes eye-blink {
  0%, 48%, 52%, 100% {
    height: 8px;
    background: rgba(59, 130, 246, 0.8);
  }
  50% {
    height: 1px;
    background: rgba(59, 130, 246, 0.3);
  }
}

.ai-circuit {
  position: absolute;
  background: rgba(59, 130, 246, 0.3);
  height: 1px;
  width: 30px;
  animation: circuit-glow 2s infinite alternate;
}

.ai-circuit:nth-child(3) {
  top: 120px;
  left: 30px;
  width: 50px;
}

.ai-circuit:nth-child(4) {
  top: 140px;
  right: 30px;
  width: 40px;
}

.ai-circuit:nth-child(5) {
  top: 160px;
  left: 50px;
  width: 100px;
}

.ai-circuit:nth-child(6) {
  top: 180px;
  right: 40px;
  width: 60px;
}

.ai-circuit:nth-child(7) {
  top: 200px;
  left: 60px;
  width: 80px;
}

@keyframes circuit-glow {
  0% {
    opacity: 0.3;
    box-shadow: 0 0 2px rgba(59, 130, 246, 0.3);
  }
  100% {
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
  }
}

.ai-brain {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  border-radius: 60px 60px 0 0;
  overflow: hidden;
}

.ai-brain-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.8);
  border-radius: 50%;
  animation: brain-particle 3s infinite linear;
}

.ai-brain-particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}
.ai-brain-particle:nth-child(2) {
  left: 30%;
  top: 50%;
  animation-delay: 0.4s;
}
.ai-brain-particle:nth-child(3) {
  left: 50%;
  top: 30%;
  animation-delay: 0.8s;
}
.ai-brain-particle:nth-child(4) {
  left: 70%;
  top: 60%;
  animation-delay: 1.2s;
}
.ai-brain-particle:nth-child(5) {
  left: 20%;
  top: 70%;
  animation-delay: 1.6s;
}
.ai-brain-particle:nth-child(6) {
  left: 40%;
  top: 40%;
  animation-delay: 2.0s;
}
.ai-brain-particle:nth-child(7) {
  left: 60%;
  top: 20%;
  animation-delay: 2.4s;
}
.ai-brain-particle:nth-child(8) {
  left: 80%;
  top: 50%;
  animation-delay: 2.8s;
}

@keyframes brain-particle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) scale(1.5);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
}

.floating-cube {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  opacity: 0.3;
  animation: float-slow 8s ease-in-out infinite;
  display: none;
}

.floating-cube::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.2);
  animation: cube-rotate 10s infinite linear;
}

@keyframes cube-rotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.floating-sphere {
  position: absolute;
  top: 40%;
  right: 10%;
  width: 64px;
  height: 64px;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
  display: none;
}

.floating-sphere::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.1));
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  animation: sphere-pulse 4s infinite ease-in-out;
}

@keyframes sphere-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-cube,
  .floating-sphere {
    display: block;
  }
}

/* About Section */
.about {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(30, 58, 138, 0.05);
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.icon-circle {
  width: 5rem;
  height: 5rem;
  background-color: rgba(30, 58, 138, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-circle i,
.icon-circle svg {
  font-size: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue-500);
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.card {
  background-color: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
  background-color: rgba(30, 58, 138, 0.15);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(30, 58, 138, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 2rem;
  color: var(--blue-500);
}

.card-body {
  flex: 1;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card-subtitle {
  color: var(--blue-400);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.card-content {
  margin-top: 1rem;
}

.card-content p {
  color: #d1d5db;
  line-height: 1.6;
}

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

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

@media (min-width: 640px) {
  .card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .card-icon {
    margin-bottom: 0;
    margin-top: 0.25rem;
  }
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    flex-direction: column;
  }

  .card-icon {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .card {
    align-items: flex-start;
    gap: 1.5rem;
  }

  .card-icon {
    margin-bottom: 0;
    margin-top: 0.25rem;
  }
}


/* Enhanced Feature Section Styles */
.features-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(to bottom, #000000, rgba(30, 58, 138, 0.2));
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0, transparent 70%),
                    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.05) 0, transparent 70%);
  opacity: 0.6;
  z-index: 0;
}

.tech-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(59, 130, 246, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
  z-index: 0;
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.icon-circle-container {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.4));
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
  background: rgba(30, 58, 138, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.3));
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(30, 58, 138, 0.4));
}

.icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper svg {
  color: #60a5fa;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}

.feature-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}


/* Optimization Section */
.optimization {
  padding: 4rem 0;
  position: relative;
}

.optimization-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(59, 130, 246, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(59, 130, 246, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.1;
}

.optimization-card {
  background-color: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.icon-box {
  padding: 0.75rem;
  background-color: rgba(30, 58, 138, 0.2);
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.icon-box i {
  font-size: 2.5rem;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.optimization-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.optimization-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.list-item {
  display: flex;
  align-items: center;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--blue-500);
  margin-right: 0.75rem;
}

@media (min-width: 768px) {
  .optimization-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Results Section */
.results {
  padding: 5rem 0;
  position: relative;
}

.data-visualization-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 50px),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 50px),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 50px),
    radial-gradient(circle at 60% 20%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 50px);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background-color: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background-color 0.3s ease;
}

.stat-card:hover {
  background-color: rgba(30, 58, 138, 0.3);
}

.stat-icon {
  padding: 0.75rem;
  background-color: rgba(30, 58, 138, 0.2);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.stat-icon i {
  font-size: 2rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.chart-container {
  width: 100%;
  height: 6rem;
  position: relative;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: rgba(30, 58, 138, 0.2);
}

.animated-chart {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.animated-chart.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 10px;
}

.animated-chart.bar-chart::before,
.animated-chart.bar-chart::after {
  content: "";
  width: 20%;
  background: rgba(59, 130, 246, 0.5);
  animation: bar-chart 3s infinite alternate;
}

.animated-chart.bar-chart::before {
  height: 60%;
  animation-delay: 0.5s;
}

.animated-chart.bar-chart::after {
  height: 80%;
  animation-delay: 1s;
}

@keyframes bar-chart {
  0% {
    height: 30%;
  }
  100% {
    height: 90%;
  }
}

.animated-chart.line-chart {
  overflow: hidden;
}

.animated-chart.line-chart::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(59, 130, 246, 0.5);
  animation: line-chart 3s infinite ease-in-out;
}

@keyframes line-chart {
  0% {
    transform: translateY(20px) translateX(0) scaleX(0.8);
  }
  50% {
    transform: translateY(-20px) translateX(50%) scaleX(1.2);
  }
  100% {
    transform: translateY(20px) translateX(100%) scaleX(0.8);
  }
}

.animated-chart.pie-chart {
  border-radius: 50%;
  background: conic-gradient(
    rgba(59, 130, 246, 0.7) 0%,
    rgba(37, 99, 235, 0.3) 30%,
    rgba(59, 130, 246, 0.5) 60%,
    rgba(37, 99, 235, 0.7) 100%
  );
  animation: pie-chart 5s infinite linear;
}

@keyframes pie-chart {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animated-chart.area-chart {
  overflow: hidden;
}

.animated-chart.area-chart::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0));
  clip-path: polygon(0% 100%, 25% 70%, 50% 90%, 75% 50%, 100% 70%, 100% 100%);
  animation: area-chart 5s infinite ease-in-out;
}

@keyframes area-chart {
  0%, 100% {
    clip-path: polygon(0% 100%, 25% 70%, 50% 90%, 75% 50%, 100% 70%, 100% 100%);
  }
  50% {
    clip-path: polygon(0% 100%, 25% 50%, 50% 70%, 75% 30%, 100% 50%, 100% 100%);
  }
}

.cta-box {
  text-align: center;
  margin-top: 4rem;
}

.cta-header {
  display: inline-flex;
  align-items: center;
  padding: 1rem;
  background-color: rgba(30, 58, 138, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.cta-header i {
  font-size: 2.5rem;
  margin-right: 1rem;
}

.cta-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cta-box p {
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Roadmap Section */
.roadmap {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.2), #000000);
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(30, 58, 138, 0.3);
  transform: translateX(-50%);
  display: none;
}

.timeline {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-content {
  background-color: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.timeline-item.completed .timeline-badge {
  background-color: rgba(16, 185, 129, 0.3);
}

.timeline-item.in-progress .timeline-badge {
  background-color: rgba(245, 158, 11, 0.3);
}

.timeline-item.planned .timeline-badge {
  background-color: rgba(59, 130, 246, 0.3);
}

.timeline-item.completed .timeline-badge i {
  color: #10b981;
}

.timeline-item.in-progress .timeline-badge i {
  color: #f59e0b;
  animation: pulse 2s infinite;
}

.timeline-item.planned .timeline-badge i {
  color: #3b82f6;
}

.timeline-badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

.timeline-item.completed .timeline-badge span {
  color: #10b981;
}

.timeline-item.in-progress .timeline-badge span {
  color: #f59e0b;
}

.timeline-item.planned .timeline-badge span {
  color: #3b82f6;
}

.timeline-connector,
.timeline-dot {
  display: none;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .timeline-content {
    width: calc(50% - 2.5rem);
  }

  .timeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    position: relative;
  }

  .connector-line {
    width: 100%;
    height: 1px;
    background-color: rgba(30, 58, 138, 0.5);
  }

  .timeline-connector i {
    position: absolute;
    font-size: 1rem;
    color: var(--blue-500);
  }

  .timeline-item:nth-child(odd) .timeline-connector i {
    transform: rotate(180deg);
  }

  .timeline-dot {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
  }

  .timeline-item.completed .timeline-dot {
    background-color: #10b981;
  }

  .timeline-item.in-progress .timeline-dot {
    background-color: #f59e0b;
  }

  .timeline-item.planned .timeline-dot {
    background-color: #3b82f6;
  }
}

/* Enhanced Team Section Styles */
.team-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(to bottom, #000000, rgba(30, 58, 138, 0.15));
  overflow: hidden;
}

.team-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 70px),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.4) 0, rgba(59, 130, 246, 0) 70px);
  z-index: 0;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    0deg,
    transparent 24%,
    rgba(59, 130, 246, 0.2) 25%,
    rgba(59, 130, 246, 0.2) 26%,
    transparent 27%,
    transparent 74%,
    rgba(59, 130, 246, 0.2) 75%,
    rgba(59, 130, 246, 0.2) 76%,
    transparent 77%,
    transparent
  );
  background-size: 60px 60px;
  opacity: 0.05;
  z-index: 0;
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.icon-circle-container {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.4));
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin: 0 auto 1.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.team-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(30, 58, 138, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.team-initial {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.team-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.team-position {
  color: #3b82f6;
  font-weight: 500;
  font-size: 1rem;
}

.team-content {
  padding: 2rem;
}

.team-bio {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.competencies-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.competencies-title svg {
  color: #3b82f6;
}

.competencies-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.competency-item {
  background: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
  width: 100%;
}

.competency-item:hover {
  background: rgba(30, 58, 138, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(5px);
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.competency-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.competency-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #3b82f6;
}

.competency-title {
  font-weight: 600;
  color: #f8fafc;
}

.competency-description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 3.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Remove this line that was creating 2 columns */
  /* .competencies-list {
    grid-template-columns: repeat(2, 1fr);
  } */
}

@media (max-width: 767px) {
  .team-header {
    flex-direction: column;
    text-align: center;
  }

  .team-avatar {
    margin: 0 auto;
  }

  .competency-item {
    padding: 1rem;
  }

  .competency-description {
    padding-left: 0;
  }
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.contact-form-container {
  position: relative;
}

.floating-circle {
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.2);
  opacity: 0.2;
  animation: float-slow 8s ease-in-out infinite;
  z-index: -1;
}

.contact-form-container .floating-circle {
  top: -2.5rem;
  left: -2.5rem;
}

.contact-form-container h3,
.contact-info h3,
.demo-request h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background-color: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.form-group textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-info {
  border-left: none;
  padding-left: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  padding: 0.75rem;
  background-color: rgba(30, 58, 138, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.5rem;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: #94a3b8;
}

.demo-request {
  position: relative;
  margin-top: 3rem;
}

.demo-request .floating-circle {
  bottom: -2.5rem;
  right: -2.5rem;
}

.demo-request p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    border-left: 1px solid rgba(30, 58, 138, 0.3);
    padding-left: 3rem;
  }
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: rgba(30, 58, 138, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--blue-500);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-nav h3,
.footer-resources h3,
.footer-contact h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-nav ul,
.footer-resources ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a,
.footer-resources a {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-resources a:hover {
  color: var(--blue-500);
}

.footer-contact li {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  font-size: 1rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 58, 138, 0.3);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #64748b;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blue-500);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.login-container {
  width: 100%;
  max-width: 28rem;
  z-index: 10;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-500);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--blue-400);
}

.back-link i {
  margin-right: 0.5rem;
}

.login-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #94a3b8;
}

.login-card {
  background-color: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(30, 58, 138, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 2.5rem;
}

.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-password {
  font-size: 0.875rem;
  color: var(--blue-500);
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--blue-400);
}

.login-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 58, 138, 0.3);
  text-align: center;
}

.login-footer p {
  color: #94a3b8;
  margin-bottom: 1rem;
}