:root {
  --primary: #0066ff;
  --text: #f5f5f5;
  --bg: #0a0a0a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  text-align: center;
  padding: 0 20px;
}

.logo {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  transition: text-shadow 1s ease;
}

.logo:hover {
  text-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.contact-info {
  margin-bottom: 30px;
}

.free-consultation {
  margin-bottom: 40px;
  text-align: center;
}

.consultation-btn {
  display: inline-block;
  color: var(--primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
  letter-spacing: 1px;
}

.consultation-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.consultation-btn:hover {
  transform: translateY(-3px);
  text-shadow: 0 0 5px rgba(0, 102, 255, 0.3);
}

.consultation-btn:hover::after {
  height: 2px;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  position: relative;
  transition: transform 0.3s ease;
}

.contact-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: 10px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-item:hover .contact-icon::before {
  transform: rotate(135deg);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

.contact-icon i {
  color: var(--text);
  font-size: 1rem;
}

.contact-text {
  font-size: 1.1rem;
  font-weight: 300;
}

.recent-work {
  margin-bottom: 40px;
  text-align: center;
}

.recent-work-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: 1px;
}

.work-items {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.work-item {
  position: relative;
  width: 200px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2);
}

.work-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  opacity: 0.8;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.work-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.work-item-info {
  padding: 15px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.work-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.work-item-link {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 15px;
  border: 1px solid var(--primary);
  border-radius: 20px;
}

.work-item-link:hover {
  background-color: var(--primary);
  color: var(--text);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.dan-did-this {
  position: absolute;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-shadow: 0 0 5px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}

.dan-did-this:hover {
  transform: translateY(-5px);
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.6);
}

.dan-did-this .icon-wrapper {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dan-did-this .icon-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}

.dan-did-this:hover .icon-wrapper::before {
  transform: rotate(135deg);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

.dan-did-this i {
  font-size: 1rem;
  z-index: 1;
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, rgba(10, 10, 10, 1) 70%);
  z-index: -1;
}

@media (max-width: 768px) {
  .logo {
    font-size: 2.5rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .work-items {
    flex-direction: column;
    align-items: center;
  }
  
  body {
    height: auto;
    padding: 60px 0;
    overflow-y: auto;
  }
  
  .dan-did-this {
    position: relative;
    margin-top: 40px;
  }
}