/* Futuristic AI Theme */
@keyframes neonPulse {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.5), 
                0 0 10px rgba(0, 242, 254, 0.3), 
                0 0 20px rgba(0, 242, 254, 0.2);
  }
  50% { 
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8), 
                0 0 20px rgba(0, 242, 254, 0.6), 
                0 0 40px rgba(0, 242, 254, 0.4);
  }
}

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

@keyframes dataStream {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

h2 {
  line-height: normal;
}

.ai-hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1d3d 50%, #0f1729 100%);
  position: relative;
  overflow: hidden;
}

.ai-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 242, 254, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
  animation: neonPulse 4s ease-in-out infinite;
}

.ai-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(0, 242, 254, 0.05) 25%, rgba(0, 242, 254, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 242, 254, 0.05) 75%, rgba(0, 242, 254, 0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 242, 254, 0.05) 25%, rgba(0, 242, 254, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 242, 254, 0.05) 75%, rgba(0, 242, 254, 0.05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  animation: dataStream 20s linear infinite;
  pointer-events: none;
}

.ai-hero h1 {
  color: #ffffff;
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.ai-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.ai-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 20px;
  color: #00f2fe;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.robot-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.robot-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  animation: scanline 2s linear infinite;
}

.robot-icon .material-icons {
  font-size: 36px;
  color: white;
  position: relative;
  z-index: 1;
}

.ai-card {
  background: linear-gradient(135deg, #1a1d3d 0%, #0f1729 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2fe, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.ai-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2);
}

.ai-card:hover::before {
  transform: translateX(100%);
}

.ai-card h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ai-card small,
.ai-card p {
  color: rgba(255, 255, 255, 0.7);
}

.stat-card {
  background: linear-gradient(135deg, #1a1d3d 0%, #0f1729 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.stat-card:nth-child(2) {
  animation-delay: 0.3s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.6s;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.ai-section {
  background: #0a0e27;
  padding: 5rem 0;
}

.ai-section-light {
  background: linear-gradient(135deg, #1a1d3d 0%, #0f1729 100%);
  padding: 5rem 0;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.process-step h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
}

.data-source-item {
  background: linear-gradient(135deg, #1a1d3d 0%, #0f1729 100%);
  border-left: 3px solid #00f2fe;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.data-source-item:hover {
  border-left-width: 5px;
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.data-source-item h6 {
  color: #00f2fe;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.data-source-item p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.output-sample {
  background: linear-gradient(135deg, #1a1d3d 0%, #0f1729 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  padding: 2rem;
}

.output-sample h5 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.output-block {
  background: rgba(0, 242, 254, 0.05);
  border-left: 4px solid #00f2fe;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.output-block:nth-child(3) {
  border-left-color: #4ade80;
}

.output-block:nth-child(4) {
  border-left-color: #fbbf24;
}

.output-block h6 {
  color: #00f2fe;
  font-weight: 700;
  margin-bottom: 1rem;
}

.output-block:nth-child(3) h6 {
  color: #4ade80;
}

.output-block:nth-child(4) h6 {
  color: #fbbf24;
}

.output-block p,
.output-block ul {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.btn-ai-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-ai-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.5s;
}

.btn-ai-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5);
  color: white;
}

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

.btn-ai-outline {
  background: transparent;
  color: #00f2fe;
  border: 2px solid #00f2fe;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-ai-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  border-color: #00f2fe;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

.security-icon {
  font-size: 64px !important;
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.security-card h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.security-card p {
  color: rgba(255, 255, 255, 0.7);
}

.ai-writing-section {
  background: linear-gradient(135deg, #00f2fe 0%, #8a2be2 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.ai-writing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, transparent 27%);
  background-size: 50px 50px;
  opacity: 0.3;
}

.ai-writing-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #8a2be2;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.ai-writing-section h2 {
  color: white;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.ai-writing-section .lead {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.ai-writing-section ul li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

.btn-ai-light {
  background: white;
  color: #8a2be2;
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-ai-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
  color: #8a2be2;
}

.assistant-demo {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
}

.assistant-demo-inner {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.assistant-demo-inner small {
  color: #6b7280;
}

.assistant-demo-inner p {
  color: #374151;
}

/* Neural Network Canvas */
#neural-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
}

/* Particle effect */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00f2fe;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 4px #00f2fe;
}

/* Typing effect */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #00f2fe;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Data flow lines */
.data-flow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00f2fe, transparent);
  opacity: 0.6;
  animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Holographic effect */
.holographic {
  position: relative;
  overflow: hidden;
}

.holographic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 242, 254, 0.1) 50%,
    transparent 70%
  );
  animation: hologramScan 3s linear infinite;
}

.text-secondary {
    --bs-text-opacity: none;
}

@keyframes hologramScan {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Matrix rain effect */
.matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-family: monospace;
  font-size: 14px;
  color: #00f2fe;
  opacity: 0.3;
  animation: matrixFall linear infinite;
}

@keyframes matrixFall {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Footer white text styling */
footer .navbar-brand,
footer h6,
footer .nav-link,
footer a,
footer span,
footer .footer-copyright {
  color: white !important;
}

footer .text-secondary {
  color: white !important;
}
