/* Phenomenal CSS */
/* Background and layout */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Ubuntu', sans-serif;
    overflow: hidden;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/fractal-b.png') no-repeat center center fixed;
    background-size: 125% 125%;
    animation: backgroundDrift 20s ease-in-out infinite;
  }
  
  /* Mobile optimizations */
  @media (max-width: 768px) {
    :root {
      --vh: 1vh;
    }
    
    body {
      background-size: cover;
      animation: backgroundDrift 30s ease-in-out infinite;
      min-height: 100vh;
      min-height: calc(var(--vh, 1vh) * 100);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .container {
      z-index: 1;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      width: 100%;
      max-width: 100vw;
      margin-top: -10vh;
    }
    
    .logo {
      width: 400px;
      max-width: 85%;
      margin-bottom: 0;
    }
    
    .tagline {
      margin: 1rem 0 0 0;
    }
    
    .contact {
      margin-top: 0.5rem;
      width: 100%;
    }
    
    .contact p {
      margin: 0.3rem 0;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
      flex-wrap: wrap;
      word-break: break-word;
    }
    
    .contact-icon {
      width: 1rem;
      height: 1rem;
      flex-shrink: 0;
    }
  }
  
  /* Respect user's motion preferences */
  @media (prefers-reduced-motion: reduce) {
    body {
      animation: none;
    }
  }
  
  @keyframes backgroundDrift {
    0%, 100% {
      background-position: center center;
    }
    25% {
      background-position: 65% 35%;
    }
    50% {
      background-position: 35% 65%;
    }
    75% {
      background-position: 50% 50%;
    }
  }
  
  /* Logo and contact */
  .container {
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 1.5rem;
  }
  
  .logo {
    width: 550px;
    max-width: 90%;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
  }
  
  .logo-container {
    position: relative;
    display: inline-block;
  }
  
  .technical-consulting {
    position: absolute;
    bottom: 0px;
    right: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out 0.8s forwards;
  }
  
  .contact a{
    text-decoration: none;
  }
  
  .contact {
    margin-top: 1rem;
  }
  
  .contact p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 2s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .contact-icon {
    width: 1.2rem;
    height: 1.2rem;
    filter: grayscale(100%);
    opacity: 0.7;
  }
  
  /* Tagline styling */
  .tagline {
    margin: 1.5rem 0 0 0;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s forwards;
  }
  
  .tagline-list {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
  }
  
  .tagline-list::before,
  .tagline-list::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
  }
  
  .tagline-list::before {
    top: 0;
  }
  
  .tagline-list::after {
    bottom: 0;
  }
  
  .tagline-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
  }
  
  .tagline-list li:nth-child(1) {
    animation-delay: 1.2s;
  }
  
  .tagline-list li:nth-child(2) {
    animation-delay: 1.4s;
  }
  
  .tagline-list li:nth-child(3) {
    animation-delay: 1.6s;
  }
  
  /* Animation keyframes */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  a {
    color: white;
    text-decoration: underline;
  }
  
  p a:hover {
    text-decoration: underline;
  }
  
  /* Particle overlay */
  #particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
  }