@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================
   NEW COLOR SCHEME - PRODUCTION READY
   ========================================= */
:root {
  /* Primary brand colors */
  --yellow: #fcffd7;
  --blue: #7398f6;
  --gravel: #524d55;

  /* Accent colors */
  --green: #00ff00;
  --nvidia-green: #76B900;
  --dark-bg: #1a1a2e;

  /* Neutral colors */
  --white: #ffffff;
  --text-dark: #1a1a1a;

  /* Legacy colors (for gradual migration if needed) */
  --old-blue: #2200f3;
  --selago: #f3e6fc;
  --amethyst-smoke: #a49aaa;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 0, 243, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(34, 0, 243, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 60px;
  width: auto;
}

.q-highlight {
  color: var(--blue);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gravel);
  transition: var(--transition);
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

.btn-primary:hover {
  background: #1a00c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34, 0, 243, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

/* =========================================
   MARQUEE BANNER
   ========================================= */
.marquee-section {
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  margin-top: 95px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.marquee-divider {
  color: var(--white);
  opacity: 0.5;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   HERO SECTION - 2/3 + 1/3 SPLIT LAYOUT
   ========================================= */
.hero {
  min-height: 70vh;
  background: var(--yellow);
  position: relative;
  border-bottom: 1px solid rgba(115, 152, 246, 0.2);
}

.hero-container {
  display: flex;
  min-height: 70vh;
  width: 100%;
}

.hero-left {
  width: 60%;
  padding: 120px 60px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--yellow);
}

.hero-right {
  width: 40%;
  background: var(--blue);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-design {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  animation: pulse-glow 3s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.02);
  }
}

.hero-title {
  margin-bottom: 32px;
}

.hero-gain {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 8px;
}

.hero-perspective {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gravel);
  font-weight: 400;
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 24px;
  letter-spacing: -0.01em;
  color: var(--blue);
  width: 100%;
}

.section-subtitle {
  font-size: 1.3rem;
  text-align: center;
  color: var(--gravel);
  margin-bottom: 64px;
  font-weight: 400;
}

/* Subtitle on blue backgrounds */
.applications-content .section-subtitle,
.results .section-subtitle {
  color: var(--selago);
  position: relative;
  z-index: 1;
}

/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-content {
  background-image: url('pal_version/trippy_wave_big.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 24px;
  text-align: center;
  position: relative;
}

.about-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(115, 152, 246, 0.85);
  z-index: 1;
}

.about-content .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.about-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 24px;
}

.about-text strong {
  color: var(--yellow);
  font-size: 1.3rem;
}

/* =========================================
   SECTION BANNERS (White bg, blue text)
   ========================================= */
.section-banner {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--amethyst-smoke);
  border-bottom: 1px solid var(--amethyst-smoke);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.section-banner .container {
  width: 100%;
  text-align: center;
}

.section-banner .section-title {
  margin-bottom: 0;
}

.sticky-banner {
  position: sticky;
  top: 70px;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================================
   TECHNOLOGY SECTION
   ========================================= */
.technology {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.technology-banner {
  padding: 0;
  border-bottom: 1px solid var(--amethyst-smoke);
  background: var(--white);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.technology-banner .container {
  width: 100%;
  text-align: center;
}

.technology-banner .section-title {
  margin-bottom: 0;
  font-size: 1.8rem;
}

/* Quantum Injection Animation */
.quantum-injection {
  min-height: 100vh;
  position: relative;
}

.qi-sticky-container {
  position: sticky;
  top: 100px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.qi-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  padding: 40px;
}

.qi-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.qi-input-image,
.qi-output-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.qi-input-image img,
.qi-output-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qi-block-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gravel);
  text-align: center;
}

/* Q-Layer */
.qi-qlayer {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qi-qlayer.visible {
  opacity: 1;
  transform: translateY(0);
}

.qi-cube-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quantum Rings */
.qi-quantum-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.qi-qlayer.activated .qi-quantum-rings {
  opacity: 1;
}

.qi-ring {
  position: absolute;
  border: 2px solid var(--blue);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.qi-ring-1 {
  width: 100px;
  height: 100px;
  animation: ring-pulse-1 2s ease-in-out infinite;
}

.qi-ring-2 {
  width: 80px;
  height: 80px;
  animation: ring-pulse-2 2s ease-in-out infinite 0.3s;
}

.qi-ring-3 {
  width: 60px;
  height: 60px;
  animation: ring-pulse-3 2s ease-in-out infinite 0.6s;
}

@keyframes ring-pulse-1 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

@keyframes ring-pulse-2 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes ring-pulse-3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.qi-cube {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-spin 4s linear infinite;
}

.qi-qlayer.activated .qi-cube {
  animation: cube-pulse-glow 2s ease-in-out infinite;
}

.qi-cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue), #3a1aff);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.qi-cube-face.front { transform: translateZ(40px); }
.qi-cube-face.back { transform: rotateY(180deg) translateZ(40px); }
.qi-cube-face.top { transform: rotateX(90deg) translateZ(40px); }
.qi-cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }
.qi-cube-face.left { transform: rotateY(-90deg) translateZ(40px); }
.qi-cube-face.right { transform: rotateY(90deg) translateZ(40px); }

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

@keyframes cube-pulse-glow {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    filter: drop-shadow(0 0 15px var(--blue)) brightness(1.2);
  }
  25% {
    transform: rotateX(90deg) rotateY(90deg) scale(1.05);
    filter: drop-shadow(0 0 25px var(--blue)) brightness(1.4);
  }
  50% {
    transform: rotateX(180deg) rotateY(180deg) scale(1.1);
    filter: drop-shadow(0 0 35px var(--blue)) brightness(1.5);
  }
  75% {
    transform: rotateX(270deg) rotateY(270deg) scale(1.05);
    filter: drop-shadow(0 0 25px var(--blue)) brightness(1.4);
  }
}

.qi-qlayer-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
}

/* CNN Icon */
.qi-cnn-icon {
  width: 80px;
  height: 80px;
  color: var(--gravel);
}

/* Connection Lines */
.qi-connection {
  width: 60px;
  height: 4px;
  position: relative;
  flex-shrink: 0;
}

.qi-line {
  width: 100%;
  height: 100%;
  background: var(--amethyst-smoke);
  border-radius: 2px;
}

.qi-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  opacity: 0;
}

.qi-connection.active .qi-pulse {
  animation: pulse-flow 1.5s ease-in-out infinite;
}

.qi-conn-right {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.qi-conn-right.visible {
  opacity: 1;
}

@keyframes pulse-flow {
  0% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { left: calc(100% - 20px); opacity: 0; }
}

/* Output Block */
.qi-output {
  position: relative;
}

.qi-output-image.sharp {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.qi-output.enhanced .qi-output-image.classical {
  opacity: 0;
}

.qi-output.enhanced .qi-output-image.sharp {
  opacity: 1;
}

/* Explanation */
.qi-explanation {
  max-width: 700px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  padding: 0 24px;
}

.qi-explanation.visible {
  opacity: 1;
  transform: translateY(0);
}

.qi-explanation p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gravel);
  margin-bottom: 12px;
}

.qi-explanation strong {
  color: var(--blue);
}

/* =========================================
   GPU PERFORMANCE BANNER
   ========================================= */
.gpu-banner {
  background-image: url('pal_version/trippy_wave_big.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gpu-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(115, 152, 246, 0.85);
  z-index: 1;
}

.gpu-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gpu-multiplier {
  font-size: 6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% {
    text-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 50px rgba(0, 255, 0, 0.8);
  }
}

.gpu-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.gpu-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* =========================================
   APPLICATIONS SECTION
   ========================================= */
.applications-content {
  background-image: url('pal_version/trippy_wave_big.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 60px 24px 100px;
}

.applications-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(115, 152, 246, 0.85);
  z-index: 1;
}

.applications-content .container {
  position: relative;
  z-index: 2;
}

.applications-content .section-subtitle {
  color: var(--white);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.application-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(34, 0, 243, 0.08);
  transition: var(--transition);
  text-align: center;
}

.application-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(34, 0, 243, 0.15);
}

.application-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--blue);
}

.application-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.application-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gravel);
}

/* =========================================
   RESULTS SECTION
   ========================================= */
.results {
  background-image: url('pal_version/trippy_wave_big.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 60px 24px 100px;
}

.results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(115, 152, 246, 0.85);
  z-index: 1;
}

.results .container {
  position: relative;
  z-index: 2;
}

.results .section-subtitle {
  color: var(--white);
}

.results-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.metric-card:nth-child(1),
.metric-card:nth-child(2),
.metric-card:nth-child(3) {
  width: calc(33.33% - 22px);
  min-width: 280px;
}

.metric-card:nth-child(4),
.metric-card:nth-child(5) {
  width: calc(33.33% - 22px);
  min-width: 280px;
}

.metric-card {
  background: linear-gradient(135deg, var(--selago), var(--white));
  padding: 32px 28px;
  border-radius: 12px;
  border: 2px solid rgba(34, 0, 243, 0.1);
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(34, 0, 243, 0.12);
}

.metric-multiplier {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.metric-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.metric-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gravel);
}

/* Bar Chart */
.chart-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(34, 0, 243, 0.1);
}

.chart-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.chart {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-bar {
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  transition: all 0.4s ease;
  min-width: 120px;
}

.chart-bar-quantum {
  background: linear-gradient(90deg, var(--blue), #3a1aff);
}

.chart-bar-classical {
  background: linear-gradient(90deg, var(--gravel), var(--amethyst-smoke));
}

.chart-bar-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.chart-bar:hover {
  filter: brightness(1.1);
  transform: scaleX(1.02);
}

/* =========================================
   TEAM SECTION
   ========================================= */
.team-content {
  background: var(--white);
  padding: 100px 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

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

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--blue);
  box-shadow: 0 8px 30px rgba(115, 152, 246, 0.3);
  transition: var(--transition);
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(115, 152, 246, 0.4);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.team-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gravel);
  margin-bottom: 12px;
}

.team-credentials {
  font-size: 1rem;
  color: var(--gravel);
  opacity: 0.8;
  line-height: 1.6;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
  background: var(--blue);
  padding: 100px 24px;
  text-align: center;
}

.contact .section-title,
.contact .contact-text {
  color: var(--white);
}

.contact-text {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.contact-cta {
  display: flex;
  justify-content: center;
}

.contact-email {
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-email a {
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #000000;
  color: var(--white);
  padding: 60px 24px 40px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

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

.footer-bottom p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
  }

  .navbar-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero responsive */
  .hero-container {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left {
    padding: 100px 40px 40px;
  }

  .hero-right {
    min-height: 200px;
    border-left: none;
    border-top: 1px solid var(--amethyst-smoke);
  }

  .hero-gain {
    font-size: 1.2rem;
  }

  .hero-perspective {
    font-size: 2.8rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Fix quantum injection on mobile */
  .quantum-injection {
    min-height: auto;
    padding: 60px 0;
  }

  .qi-sticky-container {
    position: relative;
    top: auto;
    height: auto;
    padding: 40px 20px;
  }

  .qi-pipeline {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .qi-input-image,
  .qi-output-image {
    width: 100px;
    height: 100px;
  }

  .qi-cube-container {
    width: 100px;
    height: 100px;
  }

  .qi-cube {
    width: 60px;
    height: 60px;
  }

  .qi-cube-face {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .qi-cube-face.front { transform: translateZ(30px); }
  .qi-cube-face.back { transform: rotateY(180deg) translateZ(30px); }
  .qi-cube-face.top { transform: rotateX(90deg) translateZ(30px); }
  .qi-cube-face.bottom { transform: rotateX(-90deg) translateZ(30px); }
  .qi-cube-face.left { transform: rotateY(-90deg) translateZ(30px); }
  .qi-cube-face.right { transform: rotateY(90deg) translateZ(30px); }

  .qi-ring-1 {
    width: 80px;
    height: 80px;
  }

  .qi-ring-2 {
    width: 65px;
    height: 65px;
  }

  .qi-ring-3 {
    width: 50px;
    height: 50px;
  }

  .qi-cnn-icon {
    width: 60px;
    height: 60px;
  }

  .qi-connection {
    width: 4px;
    height: 40px;
  }

  .qi-line {
    width: 100%;
    height: 100%;
  }

  .qi-pulse {
    width: 4px;
    height: 20px;
  }

  @keyframes pulse-flow {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: calc(100% - 20px); opacity: 0; }
  }

  .applications-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .application-card {
    padding: 32px 24px;
  }

  /* Fix metric cards on mobile */
  .results-container {
    flex-direction: column;
    align-items: stretch;
  }

  .metric-card:nth-child(1),
  .metric-card:nth-child(2),
  .metric-card:nth-child(3),
  .metric-card:nth-child(4),
  .metric-card:nth-child(5) {
    width: 100%;
    min-width: auto;
  }

  .metric-card {
    padding: 24px 20px;
  }

  .metric-multiplier {
    font-size: 2.5rem;
  }

  .metric-name {
    font-size: 1.1rem;
  }

  .metric-description {
    font-size: 0.9rem;
  }

  .chart-container {
    padding: 32px 24px;
  }

  .chart-title {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-left {
    padding: 80px 24px 40px;
  }

  .hero-gain {
    font-size: 1rem;
  }

  .hero-perspective {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .about-content {
    padding: 32px 24px;
  }

  .about-heading {
    font-size: 1.4rem;
  }

  .about-text {
    font-size: 0.95rem;
  }

  .application-title {
    font-size: 1.2rem;
  }

  .application-description {
    font-size: 0.95rem;
  }

  .contact {
    padding: 60px 20px;
  }

  .contact-text {
    font-size: 1.1rem;
  }

  .metric-multiplier {
    font-size: 2.5rem;
  }

  .chart-bar {
    height: 36px;
    padding: 0 12px;
  }

  .chart-bar-label {
    font-size: 0.85rem;
  }
}
