/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #00ffff;
  --text-color: #ffffff;
  --background-color: #000000;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  
  /* Typography */
  --font-family: 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 1rem;
  --font-size-lg: 1.1rem;
  --letter-spacing: 0.5px;
  
  /* Layout */
  --nav-gap: 1.5rem;
  --underline-height: 2px;
  --underline-offset: 0;
  
  /* Transitions */
  --transition-speed: 0.3s;
  --transition-timing: ease;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: #000000;
  overflow-x: hidden;
  position: relative;
  overflow-y: auto;
}

/* Video Background */
.video-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vmin;
  height: 50vmin;
  z-index: 1;
  overflow: hidden;
}

/* Blog Page Video */
.blog-video {
  position: fixed !important;
  top: 25% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.65) !important;
  z-index: -1 !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Blog Hero Text */
.blog-hero {
  position: fixed;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 45%;
  max-width: 450px;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  padding: 0;
  opacity: 0;
  animation: fadeIn 5s ease-out forwards;
  animation-delay: 7s;
  z-index: 100;
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  75% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.page-content {
  position: relative;
  z-index: 1;
  padding: 0 15%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent !important;
  padding: 0 !important;
}

.hero-text {
  font-size: 1.425rem; /* Reduced by 5% from 1.5rem */
  line-height: 1.6;
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  opacity: 0.7;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Safari-specific video fix */
@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .blog-video {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      z-index: -1 !important;
      overflow: hidden !important;
    }
    
    #bg-video { 
      position: fixed !important;
      top: 50% !important;
      left: 50% !important;
      min-width: 100% !important;
      min-height: 100% !important;
      width: auto !important;
      height: auto !important;
      z-index: -100 !important;
      transform: translateX(-50%) translateY(-50%) !important;
      -webkit-transform: translateX(-50%) translateY(-50%) !important;
      background-size: cover !important;
      object-fit: cover !important;
      -webkit-object-fit: cover !important;
    }
  }
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  min-height: 70px;
  z-index: 100;
  background-color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
  height: 60px;
  width: auto;
}

nav {
  display: flex;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--nav-gap);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links li {
  margin: 0;
}

/* Fixed Lab Link */
.lab-link {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
  pointer-events: auto;
}

.lab-link a {
  color: var(--text-color) !important;
  text-decoration: none;
  position: relative;
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-speed) var(--transition-timing);
  font-size: var(--font-size-lg);
  letter-spacing: var(--letter-spacing);
  pointer-events: auto;
}

.lab-link a:hover {
  color: var(--primary-color) !important;
}

/* Navigation Links */
nav a {
  color: var(--text-color) !important;
  text-decoration: none;
  position: relative;
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-speed) var(--transition-timing);
  font-size: var(--font-size-lg);
  letter-spacing: var(--letter-spacing);
}

/* Hover effect */
nav a:hover {
  color: var(--primary-color) !important;
}

/* Active/Selected link */
nav a.active {
  color: var(--text-color) !important;
  text-decoration: none;
  position: relative;
  pointer-events: none;
}

/* Add custom underline for active links */
nav a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: var(--underline-height);
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
}

/* Hero Section */
.page-content {
  padding: 0;
  margin: 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
}

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

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.info-group {
  margin-bottom: 1.5rem;
}

.info-group h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.info-group p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.info-group a {
  color: var(--primary-color);
  text-decoration: none;
}

.info-group a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.lab-container .lab-logo {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lab-container .lab-message {
  text-align: left;
  max-width: 600px;
}

.lab-container .lab-logo {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-left: -80px;
}

.lab-container .lab-message {
  text-align: center;
  max-width: 600px;
  margin-bottom: 3rem;
}

.lab-container .lab-message h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.lab-container .lab-message p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 0 2rem;
  background: transparent;
  position: relative;
  top: 27.5vh;
  left: 0;
  transform: none;
  width: 100%;
  perspective: 1000px;
  z-index: 10;
  pointer-events: none;
}

.cylinder-container {
  width: 100%;
  height: 200px;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.text-cylinder {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation: cylinderRotate 12s linear infinite;
  animation: cylinderRotate 12s linear infinite;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.text-face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

.text-face-1 {
  -webkit-transform: rotateX(0deg) translateZ(105px);
  transform: rotateX(0deg) translateZ(105px);
  opacity: 1;
}

.text-face-2 {
  -webkit-transform: rotateX(180deg) translateZ(105px);
  transform: rotateX(180deg) translateZ(105px);
  opacity: 1;
}

@-webkit-keyframes cylinderRotate {
  from {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  to {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}

@keyframes cylinderRotate {
  from {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  to {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}

/* Fallback for browsers that don't support 3D transforms */
@supports not (transform-style: preserve-3d) {
  .text-cylinder {
    -webkit-animation: none;
    animation: none;
  }
  
  .text-face-1, .text-face-2 {
    -webkit-transform: none !important;
    transform: none !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  .text-face-1 {
    -webkit-animation: fadeInOut1 12s linear infinite;
    animation: fadeInOut1 12s linear infinite;
    opacity: 1;
  }
  
  .text-face-2 {
    -webkit-animation: fadeInOut2 12s linear infinite;
    animation: fadeInOut2 12s linear infinite;
    opacity: 0;
  }
  
  @-webkit-keyframes fadeInOut1 {
    0%, 45% { opacity: 1; z-index: 2; }
    50%, 95% { opacity: 0; z-index: 1; }
    100% { opacity: 1; z-index: 2; }
  }
  
  @keyframes fadeInOut1 {
    0%, 45% { opacity: 1; z-index: 2; }
    50%, 95% { opacity: 0; z-index: 1; }
    100% { opacity: 1; z-index: 2; }
  }
  
  @-webkit-keyframes fadeInOut2 {
    0%, 45% { opacity: 0; z-index: 1; }
    50%, 95% { opacity: 1; z-index: 2; }
    100% { opacity: 0; z-index: 1; }
  }
  
  @keyframes fadeInOut2 {
    0%, 45% { opacity: 0; z-index: 1; }
    50%, 95% { opacity: 1; z-index: 2; }
    100% { opacity: 0; z-index: 1; }
  }
}

/* Emergency fallback - ensure text is always visible */
.text-face-1 .headline,
.text-face-1 .tagline,
.text-face-2 .headline,
.text-face-2 .tagline {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 15;
  pointer-events: auto;
}

/* If all else fails, show only the first text face */
.no-animation .text-face-2 {
  display: none !important;
}

.no-animation .text-face-1 {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  z-index: 15 !important;
}

/* Hostinger-specific fixes only when needed */
@media screen and (max-width: 0px) {
  /* This media query will never match, but provides fallback */
  .text-face-1 .headline,
  .text-face-1 .tagline,
  .text-face-2 .headline,
  .text-face-2 .tagline {
    visibility: visible !important;
    display: block !important;
    opacity: 1 !important;
    color: #ffffff !important;
    z-index: 999 !important;
    position: relative !important;
  }
}

/* Lab Page Background */
.lab-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  z-index: 1;
  color: white;
  width: 100%;
  max-width: 800px;
  margin: 4rem;
}

body.lab-page {
  background: url('../media/51E99E22-955B-4970-A36F-87CB5F884FE2.png') center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.headline {
  font-size: calc(1.6rem + 0.8vw);
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: lowercase;
  letter-spacing: 1.5px;
  opacity: 1;
}

.tagline {
  font-size: calc(0.9rem + 0.4vw);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.3;
  opacity: 1;
}

/* Override for specific page layouts */
.page-content.with-header-spacing {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 80px 2rem 0;
}

.page-content h1 {
  font-size: 2.7rem;
  margin-bottom: 2rem;
  text-align: center;
}

.content-wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 8px;
}

/* Page-specific styles */
/* About and Services pages - No video */
.no-video .video-container {
  display: none;
}

/* Blog page - Letterbox video */
.blog-page .video-container {
  position: relative;
  margin-top: 80px; /* Height of navigation */
  width: 100%;
  height: 50vh;
  overflow: hidden;
  z-index: -1;
  background: transparent;
}

.blog-page #bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2) translateZ(0); /* Slightly zoom in for better fill */
  min-width: 100%;
  min-height: 100%;
}

.blog-page .page-content {
  margin-top: 50vh;
  padding-top: 2rem;
}
  position: relative;
  z-index: 1;
}

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

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .page-content {
    margin-top: 120px;
    padding-top: 40px;
  }
  
  .page-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  header {
    padding: 0.5rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  nav a {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }
}

/* Only add this - no other changes */
.nav-links li.active a {
  border-bottom: 2px solid #33ccff;
}

/* Services Page Styles */
.services-page {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  min-height: 100vh;
}

.services-page .video-container {
  display: none;
}

.services-main {
  padding-top: 70px;
}

/* Services Hero */
.services-hero {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
}

.services-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: lowercase;
  letter-spacing: 2px;
}

.services-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-visual {
  max-width: 400px;
  margin: 0 auto;
}

.circuit-board {
  position: relative;
  height: 200px;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  height: 2px;
  animation: circuitFlow 3s linear infinite;
}

.circuit-line-1 {
  top: 30%;
  left: 0;
  right: 0;
  animation-delay: 0s;
}

.circuit-line-2 {
  top: 50%;
  left: 0;
  right: 0;
  animation-delay: 1s;
}

.circuit-line-3 {
  top: 70%;
  left: 0;
  right: 0;
  animation-delay: 2s;
}

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  animation: nodeFlash 2s ease-in-out infinite;
}

.circuit-node:nth-child(4) {
  top: 30%;
  left: 20%;
  animation-delay: 0.5s;
}

.circuit-node:nth-child(5) {
  top: 50%;
  right: 30%;
  animation-delay: 1.5s;
}

.circuit-node:nth-child(6) {
  top: 70%;
  left: 60%;
  animation-delay: 2.5s;
}

@keyframes circuitFlow {
  0% { opacity: 0.3; transform: scaleX(0); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.3; transform: scaleX(0); }
}

@keyframes nodeFlash {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Services Overview */
.services-overview {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.overview-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.overview-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Services Showcase */
.services-showcase {
  padding: 4rem 0;
}

.showcase-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-button.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.service-panels {
  position: relative;
}

.service-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.service-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.panel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.panel-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.feature-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.service-benefits h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.service-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Panel Visualizations */
.panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-visualization,
.security-visualization,
.forecast-visualization,
.app-visualization {
  width: 200px;
  height: 200px;
  position: relative;
}

/* AI Visualization */
.data-flow {
  position: relative;
  width: 100%;
  height: 100%;
}

.data-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dataFlow 3s ease-in-out infinite;
}

.data-point:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.data-point:nth-child(2) {
  top: 60%;
  left: 15%;
  animation-delay: 1s;
}

.data-point:nth-child(3) {
  top: 40%;
  left: 5%;
  animation-delay: 2s;
}

.processing-center {
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-core {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: coreProcess 2s ease-in-out infinite;
}

@keyframes dataFlow {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  50% { transform: translateX(100px) scale(1.2); opacity: 0.7; }
  100% { transform: translateX(150px) scale(0.8); opacity: 0.3; }
}

@keyframes coreProcess {
  0%, 100% { box-shadow: 0 0 10px var(--primary-color); }
  50% { box-shadow: 0 0 25px var(--primary-color); }
}

/* Security Visualization */
.security-shield {
  position: relative;
  width: 100px;
  height: 120px;
  margin: 0 auto;
}

.shield-layer {
  position: absolute;
  border: 2px solid var(--primary-color);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: shieldPulse 3s ease-in-out infinite;
}

.shield-layer:nth-child(1) {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  animation-delay: 0s;
}

.shield-layer:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  opacity: 0.6;
  animation-delay: 1s;
}

.shield-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: coreProcess 2s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Forecast Visualization */
.forecast-visualization {
  position: relative;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
}

.trend-line {
  position: absolute;
  bottom: 30%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(0, 255, 255, 0.3));
  transform: rotate(-10deg);
  animation: trendGrow 3s ease-out infinite;
}

.data-points {
  position: relative;
  height: 100px;
}

.data-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dotBounce 2s ease-in-out infinite;
}

.data-dot:nth-child(1) {
  bottom: 40%;
  left: 20%;
  animation-delay: 0s;
}

.data-dot:nth-child(2) {
  bottom: 60%;
  left: 50%;
  animation-delay: 0.5s;
}

.data-dot:nth-child(3) {
  bottom: 80%;
  right: 20%;
  animation-delay: 1s;
}

@keyframes trendGrow {
  0% { transform: rotate(-10deg) scaleX(0); }
  100% { transform: rotate(-10deg) scaleX(1); }
}

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

/* App Visualization */
.app-interface {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.interface-header {
  height: 20px;
  background: var(--primary-color);
  border-radius: 5px;
  margin-bottom: 1rem;
  animation: interfaceGlow 2s ease-in-out infinite;
}

.interface-content {
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.interface-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  animation: scanLine 3s linear infinite;
}

.interface-buttons {
  display: flex;
  gap: 0.5rem;
}

.button {
  flex: 1;
  height: 15px;
  background: rgba(0, 255, 255, 0.6);
  border-radius: 3px;
  animation: buttonFlash 4s ease-in-out infinite;
}

.button:nth-child(2) {
  animation-delay: 2s;
}

@keyframes interfaceGlow {
  0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
  50% { box-shadow: 0 0 15px var(--primary-color); }
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes buttonFlash {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Why Choose Section */
.why-choose-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.reason-card:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.reason-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.reason-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.reason-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Services CTA */
.services-cta {
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.services-cta .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.services-cta p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .panel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .service-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-button {
    width: 250px;
    text-align: center;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Page Styles */
.blog-page {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  min-height: 100vh;
}

.blog-main {
  padding-top: 0;
  margin-top: 70px;
}

/* Blog Hero Section */
.blog-hero-section {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
  position: relative;
  margin-top: calc(55vh + 2rem);
}

.blog-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: lowercase;
  letter-spacing: 2px;
}

.blog-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.search-button {
  padding: 1rem;
  background: var(--primary-color);
  border: none;
  border-radius: 5px;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Featured Article */
.featured-article {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.featured-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 2rem;
  background: var(--primary-color);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.featured-post {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.featured-post:hover {
  border-color: var(--primary-color);
  background: rgba(0, 255, 255, 0.08);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.category-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-tag.data-sovereignty {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.category-tag.wave-collapse {
  background: rgba(0, 255, 255, 0.2);
  color: var(--primary-color);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.category-tag.close-circuit {
  background: rgba(108, 99, 255, 0.2);
  color: #6c63ff;
  border: 1px solid rgba(108, 99, 255, 0.3);
}

.category-tag.ai-independence {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.category-tag.tech-leadership {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.read-time, .post-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.featured-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.3;
}

.featured-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
}

.author-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.read-article-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-article-btn:hover {
  background: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Blog Filters */
.blog-filters {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Articles Grid */
.articles-grid {
  padding: 3rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: fit-content;
}

.blog-card:hover {
  border-color: var(--primary-color);
  background: rgba(0, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.3;
}

.card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: rgba(0, 255, 255, 0.8);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Load More */
.load-more-section {
  text-align: center;
}

.load-more-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.newsletter-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.newsletter-btn {
  background: var(--primary-color);
  border: none;
  color: #000;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Blog Responsive Design */
@media (max-width: 768px) {
  .hero-search {
    flex-direction: column;
  }
  
  .search-button {
    align-self: stretch;
  }
  
  .featured-post {
    padding: 2rem;
  }
  
  .featured-title {
    font-size: 1.8rem;
  }
  
  .filter-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-tab {
    width: 200px;
    text-align: center;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Careers Page Styles */
.careers-page {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  min-height: 100vh;
}

.careers-main {
  padding-top: 70px;
}

/* Careers Hero Section */
.careers-hero-section {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
}

.careers-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: lowercase;
  letter-spacing: 2px;
}

.careers-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Openings Section */
.openings-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.coming-soon-container {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 auto;
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.coming-soon-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.coming-soon-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.roles-preview {
  margin: 3rem 0;
  text-align: left;
}

.roles-preview h4 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.role-card:hover {
  border-color: var(--primary-color);
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.1);
}

.role-card h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.role-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.notify-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.notify-section h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.notify-section p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.notify-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.notify-input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
}

.notify-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.notify-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.notify-btn {
  background: var(--primary-color);
  border: none;
  color: #000;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.notify-btn:hover {
  background: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Why Work Section */
.why-work-section {
  padding: 4rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
}

.benefit-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1rem;
}

/* Careers CTA */
.careers-cta {
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.careers-cta .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.careers-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.careers-cta p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Page Styles */
.contact-page {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  min-height: 100vh;
}

.contact-main {
  padding-top: 70px;
}

/* Contact Hero Section */
.contact-hero-section {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: lowercase;
  letter-spacing: 2px;
}

.contact-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Contact Content */
.contact-content-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-section,
.contact-info-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-coming-soon {
  text-align: center;
}

.contact-methods {
  margin-top: 2rem;
  text-align: left;
}

.contact-method {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.method-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-email-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-email-btn:hover {
  background: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.info-cards {
  margin-bottom: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary-color);
  background: rgba(0, 255, 255, 0.08);
  transform: translateY(-2px);
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.info-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.info-card a:hover {
  color: rgba(0, 255, 255, 0.8);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.response-time {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.response-time h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.response-time p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Expectations Section */
.expectations-section {
  padding: 4rem 0;
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expectation-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.expectation-card:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
}

.expectation-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.expectation-card h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem 0;
  color: var(--text-color);
  font-weight: 600;
}

.expectation-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1rem;
}

/* Responsive Design for Careers and Contact */
@media (max-width: 768px) {
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .expectations-grid {
    grid-template-columns: 1fr;
  }
  
  .notify-form {
    flex-direction: column;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}

.contact-page .contact-form,
.contact-page .contact-info {
  background: rgba(255, 255, 255, 0.05);
}

.contact-page .contact-form h2,
.contact-page .contact-info h2 {
  color: #ffffff;
}

.contact-page .form-group label {
  color: #ffffff;
}

.contact-page .info-group h3 {
  color: #ffffff;
}

.contact-page .info-group p {
  color: rgba(255, 255, 255, 0.7);
}

.coming-soon-container {
  text-align: center;
  padding: 2rem;
}

.coming-soon {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* About Page Styles */
.about-page {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  min-height: 100vh;
}

.about-main {
  padding-top: 70px;
}

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

/* Hero Section */
.about-hero {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: lowercase;
  letter-spacing: 2px;
}

.about-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

.quantum-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 0 auto;
  position: relative;
}

.quantum-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  animation: pulse 2s infinite;
}

/* Philosophy Section */
.philosophy-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.philosophy-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.lead-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Story Section */
.story-section {
  padding: 4rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.wave-function-viz {
  position: relative;
  height: 200px;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.wave-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(0, 255, 255, 0.3), var(--primary-color));
  transform: translateY(-50%);
  animation: waveCollapse 4s ease-in-out infinite;
}

.collapse-point {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary-color);
  animation: collapsePoint 4s ease-in-out infinite;
}

@keyframes waveCollapse {
  0%, 100% { transform: translateY(-50%) scaleY(1); opacity: 1; }
  50% { transform: translateY(-50%) scaleY(0.2); opacity: 0.6; }
}

@keyframes collapsePoint {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(2); }
}

/* Differentiators Section */
.differentiators-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.diff-card:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.diff-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.diff-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateX(10px);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-highlight {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-style: italic;
}

/* Clients Section */
.clients-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.client-type {
  text-align: center;
  padding: 2rem;
}

.client-type h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.client-type p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.cta-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.cta-primary {
  background: var(--primary-color);
  color: #000;
}

.cta-primary:hover {
  background: transparent;
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cta-secondary {
  background: transparent;
  color: var(--primary-color);
}

.cta-secondary:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

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

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

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

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

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-left {
  animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideRight 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary, .cta-secondary {
    width: 200px;
    text-align: center;
  }
}

/* Homepage Video */
body:not(.blog-page) .video-container,
body:not(.blog-page) .safari-video-container {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 55%;
  z-index: -1;
  overflow: hidden;
}

body:not(.blog-page) #bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Blog Page Video */
.blog-page .video-container,
.blog-page .safari-video-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: calc(55vh);
  z-index: -1;
  overflow: hidden;
}

.blog-page #bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Safari Fixes */
@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .video-container,
    .safari-video-container {
      position: absolute !important;
      overflow: hidden !important;
    }
    
    #bg-video { 
      object-fit: contain !important;
    }
  }
}

body.smaller-video #bg-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Make sure Safari respects these styles too */
@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    body.smaller-video .video-container {
      width: 70% !important;
      height: 70% !important;
      position: fixed !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      z-index: -1 !important;
    }
  }
}

/* Standalone smaller video style - guaranteed to work */
body.smaller-video .video-container {
  width: 70% !important;
  height: 70% !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: -1 !important;
}

body.smaller-video #bg-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Make sure Safari respects these styles too */
@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    body.smaller-video .video-container {
      width: 70% !important;
      height: 70% !important;
      position: fixed !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      z-index: -1 !important;
    }
  }
}