/* CSS Custom Properties (Variables) */
:root {
  /* Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  
  /* Neutral Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;
  --text-accent: #00f2fe;
  
  /* Border & Effects */
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-glass: rgba(0, 0, 0, 0.05);
  --bg-glass-hover: rgba(0, 0, 0, 0.1);
  
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-tertiary: #6a6a6a;
  
  --border-glass: rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
  top: 0;
  left: 0;
    width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.loading-logo {
  margin-bottom: var(--space-lg);
}

.loading-logo .logo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: var(--primary-gradient);
  border-radius: 50%;
    display: flex;
    align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: pulse 2s infinite;
}

.loading-logo h1 {
  font-size: 2rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  margin: 0 auto var(--space-md);
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: loadingProgress 3s ease-in-out;
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: fadeInOut 2s infinite;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-glass);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
    display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
  padding: var(--space-xs);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-accent);
  background: var(--bg-glass);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

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

.demo-btn {
  background: var(--primary-gradient);
  color: white !important;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-glass-hover);
  transform: scale(1.1);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(0, 242, 254, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(102, 126, 234, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(118, 75, 162, 0.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 242, 254, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s infinite linear;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
    z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.8s both;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 1s both;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
    text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

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

.cta-btn.secondary {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.cta-btn.secondary:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

.btn-glow {
  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;
}

.cta-btn:hover .btn-glow {
  left: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--accent-gradient);
  margin: 0 auto var(--space-xs);
  border-radius: 1px;
  animation: scrollBounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-features {
  display: grid;
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
  border-color: var(--text-accent);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
    display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  position: relative;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.icon-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--accent-gradient);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.feature-card:hover .icon-glow {
  opacity: 0.3;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.feature-metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.about-content {
  display: flex;
  align-items: center;
}

.content-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.content-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.content-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.benefits-list {
  display: grid;
  gap: var(--space-md);
}

.benefit-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  color: white;
  font-size: 1rem;
}

.benefit-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.benefit-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* Solutions Section */
.solutions {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.solution-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glass);
  border-color: var(--text-accent);
}

.card-header {
    display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-icon i {
  color: white;
  font-size: 1.25rem;
}

.card-badge {
  background: var(--accent-gradient);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-md);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list i {
  color: var(--text-accent);
  font-size: 0.8rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-accent);
    text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.learn-more-btn:hover {
  gap: var(--space-sm);
}

.technology-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-2xl);
}

.tech-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.tech-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.tech-features {
  display: grid;
  gap: var(--space-md);
}

.tech-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.tech-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-icon i {
  color: white;
  font-size: 1rem;
}

.tech-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.tech-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.tech-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-animation {
  width: 200px;
  height: 200px;
  position: relative;
}

.neural-network {
  position: relative;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-gradient);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.node:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.node:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.node:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.node:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }
.node:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2s; }

.connection {
  position: absolute;
  height: 2px;
  background: var(--accent-gradient);
  animation: connectionFlow 3s infinite;
}

.connection:nth-child(6) { top: 30%; left: 30%; width: 40%; transform: rotate(45deg); }
.connection:nth-child(7) { top: 30%; right: 30%; width: 40%; transform: rotate(-45deg); }
.connection:nth-child(8) { bottom: 30%; left: 30%; width: 40%; transform: rotate(-45deg); }
.connection:nth-child(9) { bottom: 30%; right: 30%; width: 40%; transform: rotate(45deg); }

/* Contact Section */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
}

.contact-info {
  display: grid;
  gap: var(--space-lg);
}

.info-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: white;
  font-size: 1.25rem;
}

.info-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.info-content p {
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.info-content span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form-container {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-form {
  display: grid;
  gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.link {
  color: var(--text-accent);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.submit-btn {
  background: var(--primary-gradient);
  color: white;
    border: none;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
    cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: block;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  min-height: 1.2rem;
}

.submit-status {
    text-align: center;
  font-weight: 500;
  min-height: 1.5rem;
}

.submit-status.success {
  color: #51cf66;
}

.submit-status.error {
  color: #ff6b6b;
}

/* Newsletter Section */
.newsletter {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
}

.newsletter-content {
    display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.newsletter-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

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

.newsletter-form {
  flex-shrink: 0;
}

.newsletter-form .form-group {
  flex-direction: row;
  gap: var(--space-sm);
}

.newsletter-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  font-family: inherit;
    width: 300px;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

.newsletter-btn {
  background: var(--primary-gradient);
  color: white;
    border: none;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
    cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
  display: grid;
  gap: var(--space-sm);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: var(--space-lg);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-link {
  color: var(--text-secondary);
    text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--text-accent);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-fixed);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes loadingProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

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

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

@keyframes connectionFlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .about-grid,
  .contact-grid,
  .technology-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .hero-content {
    padding: 0 var(--space-md);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-input {
    width: 100%;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card,
  .solution-card,
  .content-card,
  .contact-form-container {
    padding: var(--space-md);
  }
  
  .hero-stats {
    gap: var(--space-sm);
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --bg-glass: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.2);
    --text-secondary: #cccccc;
  }
  
  [data-theme="light"] {
    --bg-glass: rgba(0, 0, 0, 0.1);
    --border-glass: rgba(0, 0, 0, 0.2);
    --text-secondary: #333333;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .floating-particles {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}