* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cyber Color Palette */
  --cyber-blue: #00ffff;
  --cyber-purple: #8a2be2;
  --cyber-pink: #ff1493;
  --cyber-green: #00ff41;
  --cyber-orange: #ff6600;
  --cyber-yellow: #ffff00;
  
  /* Background Colors */
  --bg-deep: #000510;
  --bg-dark: #0a0a1a;
  --bg-medium: #1a1a2e;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8b8ff;
  --text-accent: #00ffff;
  
  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(0, 255, 255, 0.2);
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Typography */
  --font-tech: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent any scrolling */
}

body {
  font-family: var(--font-tech);
  background: var(--bg-deep);
  color: var(--text-primary);
  perspective: 1000px;
  position: fixed; /* Lock body position */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Cyber Landscape Container */
.cyber-landscape {
  position: fixed; /* Changed from relative to fixed */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* 3D Background Environment */
.landscape-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 40%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-medium) 100%);
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridFlow 20s linear infinite;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center bottom;
}

.digital-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
}

.mountain {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
  animation: mountainGlow 8s ease-in-out infinite;
}

.mountain-1 {
  left: 10%;
  width: 300px;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 255, 255, 0.2), transparent);
  animation-delay: 0s;
}

.mountain-2 {
  left: 40%;
  width: 400px;
  height: 300px;
  background: linear-gradient(to top, rgba(138, 43, 226, 0.2), transparent);
  animation-delay: 2s;
}

.mountain-3 {
  right: 15%;
  width: 350px;
  height: 250px;
  background: linear-gradient(to top, rgba(255, 20, 147, 0.2), transparent);
  animation-delay: 4s;
}

.data-streams-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stream-line {
  position: absolute;
  background: linear-gradient(45deg, transparent, var(--cyber-blue), transparent);
  animation: streamFlow 6s ease-in-out infinite;
}

.stream-1 {
  top: 20%;
  left: 0;
  width: 100%;
  height: 2px;
  animation-delay: 0s;
}

.stream-2 {
  top: 40%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(45deg, transparent, var(--cyber-purple), transparent);
  animation-delay: 1s;
}

.stream-3 {
  top: 60%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(45deg, transparent, var(--cyber-pink), transparent);
  animation-delay: 2s;
}

.stream-4 {
  top: 10%;
  left: 20%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyber-green), transparent);
  animation-delay: 3s;
}

.stream-5 {
  top: 0;
  right: 30%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyber-orange), transparent);
  animation-delay: 4s;
}

.floating-holograms {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hologram {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--cyber-blue);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  animation: holoFloat 8s ease-in-out infinite;
}

.holo-1 {
  top: 15%;
  left: 15%;
  border-radius: 50%;
  border-color: var(--cyber-blue);
  animation-delay: 0s;
}

.holo-2 {
  top: 25%;
  right: 20%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border-color: var(--cyber-purple);
  animation-delay: 2s;
}

.holo-3 {
  bottom: 30%;
  left: 25%;
  transform: rotate(45deg);
  border-color: var(--cyber-pink);
  animation-delay: 4s;
}

.holo-4 {
  top: 40%;
  right: 15%;
  border-radius: 50%;
  border-color: var(--cyber-green);
  animation-delay: 6s;
}

/* Main Content */
.main-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  max-height: 100vh; /* Ensure it never exceeds viewport height */
  z-index: 10;
  padding: 0 var(--space-lg);
  overflow: hidden; /* Prevent content overflow */
}

/* Brand Container */
.brand-container {
  position: relative;
  margin-bottom: var(--space-xl);
  animation: brandEntry 2s ease-out;
}

.brand-logo {
  position: relative;
  text-align: center;
}

.logo-text {
  font-size: 5rem;
  font-weight: var(--font-weight-black);
  color: var(--text-primary);
  text-shadow: 
    0 0 10px var(--cyber-blue),
    0 0 20px var(--cyber-blue),
    0 0 40px var(--cyber-blue);
  letter-spacing: 0.2em;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-hologram {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(0, 255, 255, 0.1) 50%, 
    transparent 70%);
  animation: holoScan 4s ease-in-out infinite;
  pointer-events: none;
}

.logo-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Core Message */
.core-message {
  text-align: center;
  margin-bottom: var(--space-xxl);
  max-width: 800px;
}

.main-headline {
  font-size: 4rem;
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.line-1, .line-2 {
  display: block;
  opacity: 0;
  transform: translateY(100px);
  animation: lineReveal 1s ease-out forwards;
}

.line-1 {
  color: var(--text-primary);
  animation-delay: 0.5s;
}

.line-2 {
  color: var(--cyber-blue);
  text-shadow: 0 0 20px var(--cyber-blue);
  animation-delay: 0.8s;
}

.sub-headline {
  font-size: 1.4rem;
  font-weight: var(--font-weight-light);
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* Central 3D Hub */
.central-hub {
  position: relative;
  animation: hubEntry 2s ease-out 1.5s both;
}

.hub-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.core-sphere {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--cyber-blue), transparent 70%);
  border-radius: 50%;
  box-shadow: 
    0 0 40px var(--cyber-blue),
    0 0 80px var(--cyber-blue),
    inset 0 0 40px rgba(0, 255, 255, 0.3);
  animation: spherePulse 3s ease-in-out infinite;
}

.energy-rings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}

.ring-1 {
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  border-color: var(--cyber-blue);
  box-shadow: 0 0 20px var(--cyber-blue);
}

.ring-2 {
  top: -80px;
  left: -80px;
  right: -80px;
  bottom: -80px;
  border-color: var(--cyber-purple);
  box-shadow: 0 0 15px var(--cyber-purple);
  animation-direction: reverse;
  animation-duration: 12s;
}

.ring-3 {
  top: -120px;
  left: -120px;
  right: -120px;
  bottom: -120px;
  border-color: var(--cyber-pink);
  box-shadow: 0 0 10px var(--cyber-pink);
  animation-duration: 16s;
}

.data-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cyber-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--cyber-green);
  animation: nodePulse 2s ease-in-out infinite;
}

/* Symmetrical node positioning - 6 nodes in perfect circle */
.node-1 { 
  top: 10%; 
  left: 50%; 
  transform: translateX(-50%); 
  animation-delay: 0s; 
}
.node-2 { 
  top: 25%; 
  right: 13.4%; 
  animation-delay: 0.33s; 
}
.node-3 { 
  bottom: 25%; 
  right: 13.4%; 
  animation-delay: 0.66s; 
}
.node-4 { 
  bottom: 10%; 
  left: 50%; 
  transform: translateX(-50%); 
  animation-delay: 1s; 
}
.node-5 { 
  bottom: 25%; 
  left: 13.4%; 
  animation-delay: 1.33s; 
}
.node-6 { 
  top: 25%; 
  left: 13.4%; 
  animation-delay: 1.66s; 
}

.connection-matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyber-green), transparent);
  animation: connectionFlow 4s ease-in-out infinite;
  transform-origin: center;
}

/* Symmetrical connection positioning - 6 connections radiating from center */
.conn-1 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(0deg); 
  animation-delay: 0s; 
}
.conn-2 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(60deg); 
  animation-delay: 0.66s; 
}
.conn-3 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(120deg); 
  animation-delay: 1.33s; 
}
.conn-4 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(180deg); 
  animation-delay: 2s; 
}
.conn-5 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(240deg); 
  animation-delay: 2.66s; 
}
.conn-6 { 
  top: 50%; 
  left: 20%; 
  width: 60%; 
  transform: translateY(-50%) rotate(300deg); 
  animation-delay: 3.33s; 
}

/* AI/AR Overlay */
.ai-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.ai-indicator {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ai-pulse {
  width: 12px;
  height: 12px;
  background: var(--cyber-green);
  border-radius: 50%;
  animation: aiPulse 1.5s ease-in-out infinite;
}

.ai-text {
  font-size: 0.9rem;
  color: var(--cyber-green);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ar-frame {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 250px;
  height: 180px;
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyber-blue);
}

.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* IP Information Display */
.ip-info {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.ip-label {
  font-size: 0.7rem;
  color: var(--cyber-orange);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.ip-address {
  font-size: 1.1rem;
  color: var(--cyber-blue);
  font-weight: var(--font-weight-bold);
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 10px var(--cyber-blue);
  margin-bottom: var(--space-sm);
  animation: ipGlow 2s ease-in-out infinite alternate;
}

.ip-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ip-mntby,
.ip-netname,
.ip-country {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: var(--font-weight-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ip-mntby {
  color: var(--cyber-yellow);
}

.ip-netname {
  color: var(--cyber-green);
}

.ip-country {
  color: var(--cyber-purple);
}

/* Ambient Particles */
.ambient-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--cyber-blue), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--cyber-purple), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--cyber-pink), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--cyber-green), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--cyber-orange), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particleFloat 20s ease-in-out infinite;
  opacity: 0.4;
}

/* Dynamically created elements - ensure they stay within bounds */
.cyber-trail,
.quantum-ripple,
.ambient-particle {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 10000 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
}

/* Animations */
@keyframes gridFlow {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(100px); }
}

@keyframes mountainGlow {
  0%, 100% { opacity: 0.6; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.5); }
}

@keyframes streamFlow {
  0%, 100% { opacity: 0.3; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(0); }
}

@keyframes holoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

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

@keyframes logoGlow {
  0% { 
    text-shadow: 
      0 0 10px var(--cyber-blue),
      0 0 20px var(--cyber-blue),
      0 0 40px var(--cyber-blue);
  }
  100% { 
    text-shadow: 
      0 0 20px var(--cyber-blue),
      0 0 40px var(--cyber-blue),
      0 0 80px var(--cyber-blue);
  }
}

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

@keyframes lineReveal {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes hubEntry {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes spherePulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 
      0 0 40px var(--cyber-blue),
      0 0 80px var(--cyber-blue),
      inset 0 0 40px rgba(0, 255, 255, 0.3);
  }
  50% { 
    transform: scale(1.1); 
    box-shadow: 
      0 0 60px var(--cyber-blue),
      0 0 120px var(--cyber-blue),
      inset 0 0 60px rgba(0, 255, 255, 0.5);
  }
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

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

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

@keyframes ipGlow {
  0% { 
    text-shadow: 0 0 10px var(--cyber-blue);
    opacity: 0.9;
  }
  100% { 
    text-shadow: 0 0 20px var(--cyber-blue), 0 0 30px var(--cyber-blue);
    opacity: 1;
  }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(-5px) translateX(-5px); }
  75% { transform: translateY(-15px) translateX(3px); }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .logo-text {
    font-size: 4rem;
  }
  
  .main-headline {
    font-size: 3rem;
  }
  
  .hub-container {
    width: 300px;
    height: 300px;
  }
  
  .ar-frame {
    width: 220px;
    height: 160px;
    top: 40px;
    right: 40px;
  }
  
  .ai-indicator {
    top: 25px;
    left: 25px;
  }
  
  .ip-address {
    font-size: 1rem;
  }
  
  .ip-label {
    font-size: 0.65rem;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.75rem;
  }
}

/* Tablets Portrait and Large Phones Landscape */
@media (max-width: 768px) {
  .main-content {
    padding: 0 var(--space-md);
  }
  
  .logo-text {
    font-size: 3.5rem;
    letter-spacing: 0.15em;
  }
  
  .main-headline {
    font-size: 2.8rem;
  }
  
  .sub-headline {
    font-size: 1.3rem;
    line-height: 1.5;
  }
  
  .hub-container {
    width: 280px;
    height: 280px;
  }
  
  .core-sphere {
    width: 100px;
    height: 100px;
  }
  
  .hub-core {
    width: 100px;
    height: 100px;
  }
  
  .ring-1 {
    top: -35px;
    left: -35px;
    right: -35px;
    bottom: -35px;
  }
  
  .ring-2 {
    top: -70px;
    left: -70px;
    right: -70px;
    bottom: -70px;
  }
  
  .ring-3 {
    top: -105px;
    left: -105px;
    right: -105px;
    bottom: -105px;
  }
  
  .ar-frame {
    width: 200px;
    height: 140px;
    top: 30px;
    right: 30px;
  }
  
  .ip-info {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  
  .ip-address {
    font-size: 0.95rem;
  }
  
  .ip-label {
    font-size: 0.6rem;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.7rem;
  }
  
  .ai-indicator {
    top: 20px;
    left: 20px;
  }
  
  .ai-text {
    font-size: 0.8rem;
  }
  
  .hologram {
    width: 50px;
    height: 50px;
  }
  
  .mountain-1 {
    width: 250px;
    height: 150px;
  }
  
  .mountain-2 {
    width: 300px;
    height: 200px;
  }
  
  .mountain-3 {
    width: 280px;
    height: 180px;
  }
}

/* Large Phones Portrait */
@media (max-width: 480px) {
  .main-content {
    padding: 0 var(--space-sm);
    justify-content: flex-start;
    padding-top: 10vh;
  }
  
  .brand-container {
    margin-bottom: var(--space-lg);
  }
  
  .logo-text {
    font-size: 2.8rem;
    letter-spacing: 0.1em;
  }
  
  .logo-hologram {
    height: 100px;
  }
  
  .core-message {
    margin-bottom: var(--space-xl);
  }
  
  .main-headline {
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
  }
  
  .sub-headline {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .hub-container {
    width: 220px;
    height: 220px;
  }
  
  .core-sphere {
    width: 80px;
    height: 80px;
  }
  
  .hub-core {
    width: 80px;
    height: 80px;
  }
  
  .ring-1 {
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
  }
  
  .ring-2 {
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
  }
  
  .ring-3 {
    top: -75px;
    left: -75px;
    right: -75px;
    bottom: -75px;
  }
  
  .node {
    width: 10px;
    height: 10px;
  }
  
  /* Move visitor data box to bottom right in portrait mobile */
  .ar-frame {
    width: 140px;
    height: 100px;
    bottom: 20px;
    right: 20px;
    top: auto;
  }
  
  .ip-info {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  
  .ip-address {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }
  
  .ip-label {
    font-size: 0.5rem;
    margin-bottom: 4px;
  }
  
  .ip-details {
    gap: 2px;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.6rem;
  }
  
  .ai-indicator {
    top: 15px;
    left: 15px;
    gap: 8px;
  }
  
  .ai-pulse {
    width: 10px;
    height: 10px;
  }
  
  .ai-text {
    font-size: 0.7rem;
  }
  
  .hologram {
    width: 40px;
    height: 40px;
  }
  
  .mountain-1 {
    width: 200px;
    height: 120px;
  }
  
  .mountain-2 {
    width: 250px;
    height: 150px;
  }
  
  .mountain-3 {
    width: 220px;
    height: 130px;
  }
  
  .cyber-grid {
    background-size: 80px 80px;
  }
}

/* Small Phones Portrait */
@media (max-width: 360px) {
  .main-content {
    padding-top: 8vh;
  }
  
  .logo-text {
    font-size: 2.4rem;
  }
  
  .main-headline {
    font-size: 1.9rem;
  }
  
  .sub-headline {
    font-size: 1rem;
  }
  
  .hub-container {
    width: 180px;
    height: 180px;
  }
  
  .core-sphere {
    width: 60px;
    height: 60px;
  }
  
  .hub-core {
    width: 60px;
    height: 60px;
  }
  
  /* Keep visitor data box in bottom right for small phones too */
  .ar-frame {
    width: 120px;
    height: 85px;
    bottom: 15px;
    right: 15px;
    top: auto;
  }
  
  .ip-address {
    font-size: 0.7rem;
  }
  
  .ip-label {
    font-size: 0.45rem;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.55rem;
  }
  
  .ai-text {
    font-size: 0.65rem;
  }
}

/* Landscape Orientation Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
  .main-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 var(--space-md);
    height: 100vh;
    max-height: 100vh; /* Ensure it never exceeds viewport height */
  }
  
  .brand-container {
    margin-bottom: 0;
    margin-right: var(--space-lg);
    flex-shrink: 0;
  }
  
  .logo-text {
    font-size: 2.5rem;
  }
  
  .core-message {
    margin-bottom: 0;
    margin-right: var(--space-lg);
    max-width: 400px;
    text-align: left;
    flex-shrink: 0;
  }
  
  .main-headline {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
  }
  
  .sub-headline {
    font-size: 1rem;
  }
  
  .central-hub {
    flex-shrink: 0;
  }
  
  .hub-container {
    width: 200px;
    height: 200px;
  }
  
  .core-sphere {
    width: 60px;
    height: 60px;
  }
  
  .hub-core {
    width: 60px;
    height: 60px;
  }
  
  .ring-1 {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
  }
  
  .ring-2 {
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
  }
  
  .ring-3 {
    top: -60px;
    left: -60px;
    right: -60px;
    bottom: -60px;
  }
  
  /* Keep visitor data box in top right for landscape mode */
  .ar-frame {
    width: 120px;
    height: 80px;
    top: 10px;
    right: 10px;
    bottom: auto;
  }
  
  .ip-address {
    font-size: 0.7rem;
  }
  
  .ip-label {
    font-size: 0.45rem;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.55rem;
  }
  
  .ai-indicator {
    top: 10px;
    left: 10px;
  }
  
  .ai-text {
    font-size: 0.6rem;
  }
  
  .hologram {
    width: 30px;
    height: 30px;
  }
  
  .mountain-1,
  .mountain-2,
  .mountain-3 {
    height: 80px;
  }
}

/* Very Small Landscape Phones */
@media (max-height: 400px) and (orientation: landscape) {
  .main-content {
    padding: 0 var(--space-sm);
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .main-headline {
    font-size: 1.6rem;
  }
  
  .sub-headline {
    font-size: 0.9rem;
  }
  
  .hub-container {
    width: 150px;
    height: 150px;
  }
  
  .core-sphere {
    width: 45px;
    height: 45px;
  }
  
  .hub-core {
    width: 45px;
    height: 45px;
  }
  
  .ar-frame {
    width: 100px;
    height: 70px;
  }
  
  .ip-address {
    font-size: 0.65rem;
  }
  
  .ip-label {
    font-size: 0.4rem;
  }
  
  .ip-mntby,
  .ip-netname,
  .ip-country {
    font-size: 0.5rem;
  }
}

/* Touch and Hover Optimizations for Mobile */
@media (hover: none) and (pointer: coarse) {
  .hologram:hover {
    transform: none;
    box-shadow: none;
  }
  
  .hologram:active {
    transform: scale(1.1);
    box-shadow: 0 0 20px currentColor;
  }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-text {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .main-headline {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .cyber-grid {
    animation: none;
  }
  
  .ambient-particles {
    animation: none;
  }
  
  .logo-hologram {
    animation: none;
  }
}