@font-face {
  font-family: 'Lato';
  src: url('LatoLatin-Regular.eot');
  src: url('LatoLatin-Regular.eot?#iefix') format('embedded-opentype'),
       url('LatoLatin-Regular.woff2') format('woff2'),
       url('LatoLatin-Regular.woff') format('woff'),
       url('LatoLatin-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

:root {
  --primary-color: #0e1b28; /* Dark navy */
  --secondary-color: #00E8DD; /* Electric teal */
  --accent-color: #FF4F3A; /* Fluorescent red-orange */
  --text-color: #FFFFFF;
  --light-bg: #F9F9F9; /* Clean white */
  --slate-gray: #708090; /* Cool slate gray */
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-color);
  background-color: var(--primary-color);
  line-height: 1.4;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glitch effect for text */
.glitch-wrapper {
  position: relative;
  display: inline-block;
}

.glitch {
  position: relative;
  color: var(--text-color);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 var(--secondary-color);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--accent-color);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 1% 0);
  }
  40% {
    clip-path: inset(25% 0 58% 0);
  }
  60% {
    clip-path: inset(94% 0 2% 0);
  }
  80% {
    clip-path: inset(54% 0 10% 0);
  }
  100% {
    clip-path: inset(10% 0 85% 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(80% 0 20% 0);
  }
  20% {
    clip-path: inset(1% 0 60% 0);
  }
  40% {
    clip-path: inset(58% 0 25% 0);
  }
  60% {
    clip-path: inset(2% 0 94% 0);
  }
  80% {
    clip-path: inset(10% 0 54% 0);
  }
  100% {
    clip-path: inset(85% 0 10% 0);
  }
}

/* Single page layout */
.page-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.main-content::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 232, 221, 0.03) 0,
    rgba(0, 232, 221, 0.03) 1px,
    transparent 1px,
    transparent 10px
  );
  animation: backgroundMove 30s linear infinite;
  z-index: -1;
}

@keyframes backgroundMove {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.logo-container {
  position: relative;
  margin-bottom: 20px;
}

.logo {
  width: 120px;
  height: auto;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--secondary-color) 0%,
    rgba(0, 232, 221, 0) 70%
  );
  opacity: 0.3;
  border-radius: 50%;
  z-index: 1;
  animation: pulsate 4s ease-in-out infinite;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
}

.name {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.4em;
  color: var(--slate-gray);
  margin-bottom: 10px;
  font-weight: 300;
}

.title {
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.services-list {
  margin: 40px 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-tag {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 0.9em;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.service-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent
  );
  transition: left 0.7s;
}

.service-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.service-tag:hover::before {
  left: 100%;
}

.service-tag:nth-child(even):hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.typing-container {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 20px 0;
  padding: 20px;
  border-radius: 4px;
}

#services {
  color: var(--text-color);
  font-size: 1.6em;
  font-weight: 300;
  margin: 0;
  display: inline-block;
  position: relative;
}

#services:after {
  content: '';
  position: absolute;
  right: -4px;
  top: 4px;
  width: 2px;
  height: 24px;
  background-color: var(--secondary-color);
}

.blinking-cursor:after {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.buttons-container {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  color: var(--primary-color);
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: width 0.3s ease;
  z-index: -1;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button:hover::before {
  width: 100%;
}

.book-meeting {
  background-color: var(--secondary-color);
}

.send-email {
  background-color: var(--accent-color);
}

footer {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8em;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    padding: 40px 0;
  }
  
  .name {
    font-size: 2em;
  }
  
  .service-tag {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .buttons-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .button {
    width: 100%;
    text-align: center;
  }
}
