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

:root {
  --acp-blue: #4a90e2;
  --acp-teal: #50c8a3;
  --acp-dark-blue: #2c5282;
  --acp-light-teal: #68d391;
  --elegant-dark: #0f1419;
  --elegant-darker: #0a0e13;
  --elegant-light: #1a2332;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --accent-glow: rgba(80, 200, 163, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Inter", sans-serif;
  background: var(--elegant-darker);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.parallax-layer {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(74, 144, 226, 0.03) 0%,
    rgba(80, 200, 163, 0.02) 50%,
    transparent 100%
  );
  will-change: transform;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--elegant-darker) 0%, var(--elegant-dark) 100%);
  z-index: 2;
}

.ambient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  animation: ambientFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--acp-teal), transparent);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--acp-blue), transparent);
  bottom: 20%;
  left: 10%;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--acp-dark-blue), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

.mx-1 {
  margin: 0 1em;
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.08;
  }
  33% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.12;
  }
  66% {
    transform: translate(-20px, 30px) scale(0.9);
    opacity: 0.06;
  }
}

.elegant-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 3rem;
  z-index: 10;
  animation: fadeInDown 1.5s ease-out;
}

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

.nav-logo {
  height: auto;
  width: auto;
  max-width: 160px;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
}

.nav-logo:hover {
  filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 10px rgba(74, 144, 226, 0.3));
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  padding: 0 3rem;
}

.content-wrapper {
  text-align: center;
  position: relative;
  max-width: 800px;
  animation: fadeInUp 2s ease-out 0.5s both;
}

.logo-section {
  margin-bottom: 4rem;
  position: relative;
}

.elegant-logo {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.9;
  position: relative;
  display: inline-block;
  cursor: default;
}

.logo-acp {
  color: var(--text-primary);
  position: relative;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.logo-ia {
  color: var(--text-primary);
  position: relative;
  background: linear-gradient(135deg, #ffffff, var(--acp-teal), #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subtleShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 2px rgba(80, 200, 163, 0.3));
}

@keyframes subtleShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes subtleGlow {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

.logo-underline {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acp-teal), transparent);
  margin: 2rem auto;
  animation: expandLine 2s ease-out 1s both;
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60px;
    opacity: 1;
  }
}

.message-section {
  margin-bottom: 3rem;
}

.primary-message {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  animation: fadeInUp 2s ease-out 1s both;
}

.secondary-message {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  animation: fadeInUp 2s ease-out 1.5s both;
}

.cta-section {
  margin-top: 3rem;
  animation: fadeInUp 2s ease-out 2s both;
}

.energy-button {
  position: relative;
  background: rgba(15, 20, 25, 0.4);
  border: 1px solid rgba(80, 200, 163, 0.3);
  color: var(--text-primary);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  overflow: visible;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.button-text {
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.energy-flow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(80, 200, 163, 0.8) 25%,
    rgba(80, 200, 163, 1) 50%,
    rgba(80, 200, 163, 0.8) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-clip: border-box;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  animation: borderFlow 3s linear infinite;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(80, 200, 163, 0.4));
}

.energy-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(80, 200, 163, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 0;
  box-shadow: 0 0 10px rgba(80, 200, 163, 0.3), inset 0 0 10px rgba(80, 200, 163, 0.1);
}

@keyframes borderFlow {
  0% {
    background-position: -200% 0;
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0.6;
  }
}

.energy-button:hover {
  border-color: rgba(80, 200, 163, 0.6);
  box-shadow: 0 0 20px rgba(80, 200, 163, 0.2);
  transform: translateY(-2px);
}

.energy-button:hover .energy-flow {
  animation-duration: 1.5s;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(80, 200, 163, 0.6));
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(80, 200, 163, 0.9) 20%,
    rgba(80, 200, 163, 1) 40%,
    rgba(104, 211, 145, 1) 50%,
    rgba(80, 200, 163, 1) 60%,
    rgba(80, 200, 163, 0.9) 80%,
    transparent 100%
  );
}

.energy-button:hover .energy-glow {
  opacity: 1;
  box-shadow: 0 0 20px rgba(80, 200, 163, 0.4), inset 0 0 20px rgba(80, 200, 163, 0.2);
}

.energy-button:hover .button-text {
  text-shadow: 0 0 10px rgba(80, 200, 163, 0.5);
}

.energy-button:active {
  transform: translateY(0);
  box-shadow: 0 0 30px rgba(80, 200, 163, 0.4);
}

.energy-button:active .energy-flow {
  animation-duration: 0.8s;
  filter: drop-shadow(0 0 15px rgba(80, 200, 163, 0.8));
}

.accent-dot {
  width: 8px;
  height: 8px;
  background: var(--acp-teal);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(80, 200, 163, 0.4);
  animation: dotPulse 3s ease-in-out infinite, fadeInUp 2s ease-out 2s both;
}

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

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(80, 200, 163, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 200, 163, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}

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

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

/* Responsive design */
@media (max-width: 768px) {
  .elegant-nav {
    padding: 1.5rem 2rem;
  }

  .nav-logo {
    height: 28px;
  }

  .nav-tagline {
    font-size: 0.7rem;
  }

  .main-content {
    padding: 0 2rem;
  }

  .logo-section {
    margin-bottom: 3rem;
  }

  .message-section {
    margin-bottom: 2rem;
  }

  .ambient-orb {
    filter: blur(60px);
  }
}

@media (max-width: 480px) {
  .elegant-nav {
    padding: 1rem 1.5rem;
  }

  .main-content {
    padding: 0 1.5rem;
  }

  .nav-brand {
    gap: 0.75rem;
  }

  .grid-overlay {
    background-size: 50px 50px;
  }
}

/* Hover effects */
.elegant-logo:hover .logo-acp {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.elegant-logo:hover .logo-ia {
  animation-duration: 2s;
  filter: drop-shadow(0 0 4px rgba(80, 200, 163, 0.5));
}

/* Smooth transitions for all interactive elements */
* {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cosmic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cosmic-particle {
  position: absolute;
  background: rgba(80, 200, 163, 0.8);
  border-radius: 50%;
  transition: transform 0.1s ease-out;
}

.cosmic-particle.speed-1 {
  animation: hyperSpeedTravel linear infinite;
}

.cosmic-particle.speed-2 {
  animation: warpSpeed linear infinite;
}

.cosmic-particle.speed-3 {
  animation: diagonalRush linear infinite;
}

.cosmic-particle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 200, 163, 0.8), transparent);
  opacity: 0.6;
}

@keyframes hyperSpeedTravel {
  0% {
    transform: translateY(100vh) translateX(var(--start-x)) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateY(95vh) translateX(var(--start-x)) scale(0.3);
  }
  95% {
    opacity: 0.8;
    transform: translateY(-5vh) translateX(var(--end-x)) scale(1.5);
  }
  100% {
    transform: translateY(-10vh) translateX(var(--end-x)) scale(0);
    opacity: 0;
  }
}

@keyframes warpSpeed {
  0% {
    transform: translateX(-100vw) translateY(var(--start-y)) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateX(-95vw) translateY(var(--start-y)) scale(0.3);
  }
  95% {
    opacity: 0.8;
    transform: translateX(105vw) translateY(var(--end-y)) scale(1.5);
  }
  100% {
    transform: translateX(110vw) translateY(var(--end-y)) scale(0);
    opacity: 0;
  }
}

@keyframes diagonalRush {
  0% {
    transform: translate(-50vw, 100vh) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translate(-45vw, 95vh) scale(0.3);
  }
  95% {
    opacity: 0.8;
    transform: translate(150vw, -10vh) scale(1.5);
  }
  100% {
    transform: translate(155vw, -15vh) scale(0);
    opacity: 0;
  }
}

.cosmic-particle.small {
  width: 1px;
  height: 1px;
}

.cosmic-particle.medium {
  width: 2px;
  height: 2px;
}

.cosmic-particle.large {
  width: 3px;
  height: 3px;
}
