
:root {
  --font-primary: 'Orbitron', 'Space Grotesk', 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', 'Poppins', 'Manrope', system-ui, sans-serif;
  
  --color-cyan: #00FFFF;
  --color-purple: #8B5CF6;
  --color-pink: #EC4899;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-cyan-100: #CCFFFF;
  --color-cyan-200: #99FFFF;
  --color-cyan-400: #00FFFF;
  --color-purple-400: #A855F7;
  --color-pink-400: #EC4899;
  
  --shadow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);
  --shadow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
  --shadow-pink: 0 0 20px rgba(236, 72, 153, 0.3);
  
  --border-radius: 0.75rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
  
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 500;
}

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

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Utility Classes */
.hidden { display: none !important; }
.full-width { width: 100%; }

.gradient-text {
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple), var(--color-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyan { color: var(--color-cyan) !important; }
.purple { color: var(--color-purple) !important; }
.pink { color: var(--color-pink) !important; }

/* Cosmic Background */
#cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cosmic-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3) 0%, rgba(0, 0, 0, 1) 50%, rgba(30, 64, 175, 0.3) 100%);
}

#stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: var(--color-cyan);
  border-radius: 50%;
  animation: twinkle 5s infinite ease-in-out;
}

.star.small {
  width: 1px;
  height: 1px;
}

.star.large {
  width: 2px;
  height: 2px;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
}

.nebula {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  transition: transform 0.1s ease-out;
  pointer-events: none;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 12s infinite ease-in-out;
}

.orb-1 {
  width: 16px;
  height: 16px;
  background: rgba(236, 72, 153, 0.6);
  top: 80px;
  left: 80px;
  animation-delay: 0s;
}

.orb-2 {
  width: 24px;
  height: 24px;
  background: rgba(0, 255, 255, 0.4);
  bottom: 160px;
  right: 128px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(100px, -50px); }
  50% { transform: translate(0, 0); }
  75% { transform: translate(-80px, 80px); }
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-container {
  position: relative;
}

.logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: logoGlow 3s infinite ease-in-out;
}

.logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border-radius: 8px;
  filter: blur(4px);
  opacity: 0.5;
  z-index: -1;
}

.logo i {
  color: white;
  font-size: 20px;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
  50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }
}

.brand-name {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-cyan-100);
  text-decoration: none;
  font-family: var(--font-body);
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--color-cyan);
  transform: scale(1.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple));
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-cyan);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--color-cyan-200);
}

.mobile-nav {
  display: none;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.mobile-nav-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--color-cyan-100);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-family: var(--font-body);
}

.mobile-nav-link:hover {
  color: var(--color-cyan);
  background: rgba(0, 255, 255, 0.1);
  transform: translateX(10px);
}

.mobile-nav-actions {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
  
  .mobile-nav.show {
    display: block;
    animation: slideDown 0.3s ease-out;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-ghost {
  background: transparent;
  color: var(--color-cyan-100);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--color-cyan);
  background: rgba(0, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple));
  color: white;
  border: 1px solid rgba(0, 255, 255, 0.5);
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--color-cyan-200);
  border: 1px solid rgba(0, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(0, 255, 255, 0.2);
  color: var(--color-cyan-100);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.btn-cta {
  background: linear-gradient(to right, var(--color-pink), var(--color-cyan));
  color: white;
  border: 1px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.btn-cta:hover {
  box-shadow: 0 0 40px rgba(236, 72, 153, 0.7);
  transform: scale(1.1);
}

/* Fixed CTA Button */
.fixed-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-slow);
}

.fixed-cta.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.holographic-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(0, 255, 255, 0.1), rgba(139, 92, 246, 0.2));
}

.grid-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  animation: gridPulse 4s infinite ease-in-out;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

/* Hologram */
.hologram-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(1000px);
  animation: hologramFloat 20s infinite linear;
}

@keyframes hologramFloat {
  0% { transform: perspective(1000px) rotateY(0deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(180deg) translateY(-20px); }
  100% { transform: perspective(1000px) rotateY(360deg) translateY(0px); }
}

.hologram {
  width: 320px;
  height: 384px;
  position: relative;
  animation: hologramBob 6s infinite ease-in-out;
}

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

.hologram-outline {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  background: linear-gradient(to bottom, rgba(0, 255, 255, 0.2), rgba(139, 92, 246, 0.2));
  backdrop-filter: blur(8px);
  animation: hologramGlow 4s infinite ease-in-out;
}

@keyframes hologramGlow {
  0%, 100% { 
    box-shadow: 
      0 0 30px rgba(0, 255, 255, 0.8),
      inset 0 0 30px rgba(0, 255, 255, 0.2),
      0 0 60px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.8);
  }
  25% { 
    box-shadow: 
      0 0 50px rgba(139, 92, 246, 0.8),
      inset 0 0 50px rgba(139, 92, 246, 0.2),
      0 0 80px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.8);
  }
  50% { 
    box-shadow: 
      0 0 30px rgba(236, 72, 153, 0.8),
      inset 0 0 30px rgba(236, 72, 153, 0.2),
      0 0 60px rgba(236, 72, 153, 0.4);
    border-color: rgba(236, 72, 153, 0.8);
  }
  75% { 
    box-shadow: 
      0 0 50px rgba(139, 92, 246, 0.8),
      inset 0 0 50px rgba(139, 92, 246, 0.2),
      0 0 80px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.8);
  }
}

.scanning-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-cyan), transparent);
  opacity: 0.8;
  box-shadow: 0 0 10px var(--color-cyan);
}

.line-1 {
  animation: scan1 2s infinite linear;
}

.line-2 {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-purple), transparent);
  animation: scan2 2.5s infinite linear 0.5s;
}

@keyframes scan1 {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(400px); }
}

@keyframes scan2 {
  0% { transform: translateY(-120px); }
  100% { transform: translateY(420px); }
}

.hologram-core {
  position: absolute;
  inset: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-cyan);
}

.central-core {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.5), rgba(139, 92, 246, 0.5));
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
  animation: coreGlow 3s infinite ease-in-out;
  margin-bottom: 1rem;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
  50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.8); }
}

.data-flow-line {
  width: 4px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(0, 255, 255, 0.8), rgba(139, 92, 246, 0.8));
  box-shadow: 0 0 10px var(--color-cyan);
  margin-bottom: 1rem;
}

.neural-nodes {
  position: relative;
  width: 100px;
  height: 100px;
}

.neural-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(0, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-cyan);
  animation: nodeFlicker 2s infinite ease-in-out;
}

.neural-node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.neural-node:nth-child(2) { top: 25%; right: 10%; }
.neural-node:nth-child(3) { top: 75%; right: 10%; }
.neural-node:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.neural-node:nth-child(5) { top: 75%; left: 10%; }
.neural-node:nth-child(6) { top: 25%; left: 10%; }

@keyframes nodeFlicker {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.floating-data-points {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.data-stream {
  position: absolute;
  height: 4px;
  background: linear-gradient(to right, var(--color-cyan), transparent);
  box-shadow: 0 0 10px var(--color-cyan);
  animation: dataStream 2s infinite ease-in-out;
}

.stream-1 {
  top: 25%;
  left: -48px;
  width: 40px;
}

.stream-2 {
  top: 50%;
  right: -48px;
  width: 40px;
  background: linear-gradient(to left, var(--color-purple), transparent);
  box-shadow: 0 0 10px var(--color-purple);
  animation-delay: 0.7s;
}

.stream-3 {
  bottom: 25%;
  left: -48px;
  width: 40px;
  background: linear-gradient(to right, var(--color-pink), transparent);
  box-shadow: 0 0 10px var(--color-pink);
  animation-delay: 1.4s;
}

@keyframes dataStream {
  0%, 100% { opacity: 0.5; width: 40px; }
  50% { opacity: 1; width: 48px; }
}

.data-readout {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--color-cyan);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 255, 0.5);
  font-family: var(--font-body);
  animation: readoutBlink 2s infinite ease-in-out;
}

@keyframes readoutBlink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 80rem;
  margin: 0 auto;
  animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, rgba(0, 255, 255, 0.3), rgba(139, 92, 246, 0.3));
  color: var(--color-cyan-100);
  border: 1px solid rgba(0, 255, 255, 0.6);
  border-radius: var(--border-radius);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-cyan);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
  animation: badgeGlow 3s infinite ease-in-out;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
}

.hero-title {
  font-size: 3rem;
  font-family: var(--font-primary);
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 1.5rem;
  animation: titleGlow 4s infinite ease-in-out;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
  50% { text-shadow: 0 0 40px rgba(139, 92, 246, 0.5); }
}

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

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

.hero-description {
  font-size: 1.25rem;
  color: var(--color-cyan-100);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  line-height: 1.6;
  animation: descriptionFadeIn 1s ease-out 0.5s both;
}

.hero-description p {
  margin-bottom: 1rem;
}

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

@media (min-width: 768px) {
  .hero-description { font-size: 1.5rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: actionsFadeIn 1s ease-out 0.8s both;
}

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

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* Floating UI Elements */
.floating-ui {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  color: var(--color-cyan-200);
  max-width: 18rem;
  box-shadow: var(--shadow-cyan);
  z-index: 5;
}

.floating-ui-left {
  top: 25%;
  left: 1rem;
  border: 1px solid rgba(0, 255, 255, 0.4);
  animation: floatLeft 8s infinite ease-in-out;
}

.floating-ui-right {
  bottom: 25%;
  right: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--color-purple-400);
  box-shadow: var(--shadow-purple);
  animation: floatRight 6s infinite ease-in-out;
}

@keyframes floatLeft {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-25px) rotateY(5deg); }
}

@keyframes floatRight {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(20px) rotateY(-5deg); }
}

@media (max-width: 768px) {
  .floating-ui { display: none; }
}

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

.ui-header i {
  font-size: 1.25rem;
}

.ui-header span {
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.ui-content {
  margin-bottom: 0.75rem;
}

.ui-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.metric-value {
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple));
  border-radius: 4px;
  animation: progressFill 3s infinite ease-in-out;
}

@keyframes progressFill {
  0% { width: 0%; }
  25% { width: 98%; }
  50% { width: 96%; }
  100% { width: 99%; }
}

.visualizer {
  display: flex;
  gap: 0.25rem;
  align-items: end;
  height: 2rem;
}

.bar {
  width: 8px;
  background: linear-gradient(to top, var(--color-purple), var(--color-cyan));
  border-radius: 2px;
  animation: barPulse 2s infinite ease-in-out;
}

.bar:nth-child(1) { animation-delay: calc(var(--delay) + 0s); }
.bar:nth-child(2) { animation-delay: calc(var(--delay) + 0.2s); }
.bar:nth-child(3) { animation-delay: calc(var(--delay) + 0.4s); }
.bar:nth-child(4) { animation-delay: calc(var(--delay) + 0.6s); }
.bar:nth-child(5) { animation-delay: calc(var(--delay) + 0.8s); }
.bar:nth-child(6) { animation-delay: calc(var(--delay) + 1s); }
.bar:nth-child(7) { animation-delay: calc(var(--delay) + 1.2s); }
.bar:nth-child(8) { animation-delay: calc(var(--delay) + 1.4s); }

@keyframes barPulse {
  0%, 100% { height: 8px; }
  50% { height: 32px; }
}

/* Section Styles */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: sectionFadeIn 0.8s ease-out;
}

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

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-primary);
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 1.5rem;
  animation: titleGlow 4s infinite ease-in-out;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-cyan-100);
  max-width: 32rem;
  margin: 0 auto;
  font-family: var(--font-body);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

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

.solution-card {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition-slow);
  height: 100%;
  cursor: pointer;
  animation: cardFadeIn 0.8s ease-out;
}

.solution-card:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
  transform: scale(1.05) rotateY(5deg);
}

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

.card-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(139, 92, 246, 0.3));
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
  animation: iconGlow 3s infinite ease-in-out;
}

@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
}

.solution-card:hover .card-icon {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.card-title {
  font-size: 1.25rem;
  font-family: var(--font-primary);
  color: white;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.solution-card:hover .card-title {
  color: var(--color-cyan-100);
}

.card-description {
  color: rgba(204, 255, 255, 0.8);
  line-height: 1.6;
  font-family: var(--font-body);
  transition: var(--transition);
}

.solution-card:hover .card-description {
  color: rgba(204, 255, 255, 0.9);
}

/* Technology Interface */
.tech-interface {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 3rem;
  padding: 2rem;
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
  display: grid;
  gap: 3rem;
  align-items: center;
  transition: var(--transition-slow);
  animation: interfaceFadeIn 1.2s ease-out;
}

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

.tech-interface:hover {
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.4);
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .tech-interface { 
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

.tech-title {
  font-size: 1.5rem;
  font-family: var(--font-primary);
  color: white;
  margin-bottom: 1.5rem;
  animation: titleGlow 3s infinite ease-in-out;
}

.tech-metrics {
  margin-bottom: 2rem;
}

.tech-metric {
  margin-bottom: 1.5rem;
  animation: metricFadeIn 0.8s ease-out;
}

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

.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  color: var(--color-cyan-200);
}

.metric-label i {
  margin-right: 0.5rem;
  color: var(--color-cyan);
}

.metric-percentage {
  font-weight: 500;
  animation: percentageFlicker 2s infinite ease-in-out;
}

@keyframes percentageFlicker {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.metric-bar {
  width: 100%;
  height: 12px;
  background: rgba(0, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.metric-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.metric-fill[data-color="cyan"] {
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple));
  box-shadow: 0 0 10px var(--color-cyan);
}

.metric-fill[data-color="purple"] {
  background: linear-gradient(to right, var(--color-purple), var(--color-cyan));
  box-shadow: 0 0 10px var(--color-purple);
}

.metric-fill[data-color="pink"] {
  background: linear-gradient(to right, var(--color-pink), var(--color-purple));
  box-shadow: 0 0 10px var(--color-pink);
}

.tech-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Technology Visualization */
.tech-visualization {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-display {
  position: relative;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 3rem;
  backdrop-filter: blur(8px);
  overflow: hidden;
  animation: displayGlow 4s infinite ease-in-out;
}

@keyframes displayGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.3); }
}

@media (max-width: 768px) {
  .tech-display {
    width: 300px;
    height: 300px;
  }
}

.rotating-ring {
  position: absolute;
  border: 2px solid rgba(0, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color-cyan);
}

.ring-1 {
  inset: 2rem;
  animation: rotateClockwise 20s infinite linear;
}

.ring-2 {
  inset: 4rem;
  border-width: 1px;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 15px var(--color-purple);
  animation: rotateCounterClockwise 15s infinite linear;
}

.ring-3 {
  inset: 6rem;
  border-width: 1px;
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 10px var(--color-pink);
  animation: rotateClockwise 25s infinite linear;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.tech-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 160px;
  background: linear-gradient(to bottom, rgba(0, 255, 255, 0.3), rgba(139, 92, 246, 0.3));
  border: 2px solid rgba(0, 255, 255, 0.6);
  border-radius: 3rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  animation: coreFloat 6s infinite ease-in-out;
}

@keyframes coreFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px) rotateY(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-25px) rotateY(180deg); }
}

.core-scanner {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(to right, transparent, var(--color-cyan), transparent);
  opacity: 0.8;
  box-shadow: 0 0 15px var(--color-cyan);
}

.scanner-1 {
  animation: coreScan1 3s infinite linear;
}

.scanner-2 {
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-purple), transparent);
  box-shadow: 0 0 10px var(--color-purple);
  animation: coreScan2 4s infinite linear 1s;
}

@keyframes coreScan1 {
  0% { transform: translateY(-25px); }
  100% { transform: translateY(165px); }
}

@keyframes coreScan2 {
  0% { transform: translateY(-30px); }
  100% { transform: translateY(170px); }
}

.floating-particles {
  position: absolute;
  inset: 0;
}

.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.line-group line {
  stroke-width: 1;
  animation: connectionPulse 3s infinite ease-in-out;
}

.line-group line:nth-child(1) { animation-delay: 0s; }
.line-group line:nth-child(2) { animation-delay: 0.4s; }
.line-group line:nth-child(3) { animation-delay: 0.8s; }
.line-group line:nth-child(4) { animation-delay: 1.2s; }

@keyframes connectionPulse {
  0%, 100% { opacity: 0; stroke-width: 0.5; }
  50% { opacity: 0.8; stroke-width: 2; }
}

/* Vision Content */
.vision-content {
  max-width: 64rem;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--color-cyan-100);
  font-family: var(--font-body);
  line-height: 1.6;
}

.vision-content p {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
  max-width: 64rem;
}

.contact-card {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 3rem;
  padding: 2rem;
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
  display: grid;
  gap: 2rem;
  animation: contactFadeIn 1s ease-out;
}

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

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

.contact-title {
  font-size: 1.5rem;
  font-family: var(--font-primary);
  color: white;
  margin-bottom: 1rem;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-cyan-100);
  font-family: var(--font-body);
}

.contact-feature i {
  font-size: 1.25rem;
}

.contact-feature i[data-lucide="globe"] { color: var(--color-cyan); }
.contact-feature i[data-lucide="brain"] { color: var(--color-purple); }
.contact-feature i[data-lucide="users"] { color: var(--color-pink); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer */
.footer {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  padding: 4rem 0;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: footerLogoGlow 4s infinite ease-in-out;
}

@keyframes footerLogoGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
  50% { text-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
}

.footer-description {
  color: rgba(204, 255, 255, 0.8);
  max-width: 20rem;
  line-height: 1.6;
  font-family: var(--font-body);
}

.footer-title {
  font-family: var(--font-primary);
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: rgba(204, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-body);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-cyan);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(204, 255, 255, 0.6);
  font-size: 0.875rem;
  font-family: var(--font-body);
  animation: copyrightFadeIn 1s ease-out;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.legal-link {
  color: rgba(204, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.legal-link:hover {
  color: var(--color-cyan);
  transform: scale(1.05);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; }
  .tech-interface { padding: 1.5rem; }
  .contact-card { padding: 1.5rem; }
}

/* Performance Optimizations */
.tech-display,
.hologram,
.solution-card {
  will-change: transform;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Font styling and touch effect for "Sign in" link */
.sign-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #941919;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.sign-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -3px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

/* Hover or touch effect */
.sign-link:hover,
.sign-link:focus {
    color: #007bff;
}

.sign-link:hover::after,
.sign-link:focus::after {
    width: 100%;
}
.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}
/* Base Styles */
#navbar {
  background-image: linear-gradient(to right, #2A7B9B, black, #2A7B9B);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.brand-logo {
  height: 40px;
  transition: transform 0.3s ease;
}
.brand-logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links, .nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sign-link {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
}
.sign-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #0056b3;
}

/* Hamburger (Hidden on desktop) */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive for tablets and mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

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

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
  }

  .nav-link,
  .sign-link,
  .btn-primary {
    width: 100%;
    padding: 10px 0;
  }
}
.brand-logo {
  height: 55px;       /* You can increase this */
  width: auto;        /* Maintain aspect ratio */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}
