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

body {
  background: #0d0d0d;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 50px;
  border-bottom: 1px solid #252525;
  position: relative;
}

.logo {
  font-size: 22px;
  font-weight: 800;
}

.purple-word {
  color: #9b5cff;
}

.links {
  display: flex;
  gap: 36px;
}

.links a {
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.links a:hover {
  color: #9b5cff;
  text-decoration: underline;
}

.active-link {
  color: #9b5cff !important;
}

.right-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.big-purple-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.big-purple-btn:hover {
  background: #9b5cff;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.mobile-menu {
  display: none;
}

.wrapper {
  display: grid;
  grid-template-columns: 210px 1fr 1fr 210px;
  grid-template-rows: 220px 220px 150px auto;
  gap: 12px;
  padding: 30px 50px;
}

.box {
  background: #1a1a1e;
  border: 1px solid #252525;
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.person-box {
  grid-column: 1;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.person {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.face-img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7c3aed;
  position: absolute;
}

.small-purple-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 11px 0;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.small-purple-btn:hover {
  background: #9b5cff;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  width: 100%;
  margin-top: auto;
}

.person-box .bottom-row {
  margin-top: 0;
}

.gray-text {
  font-size: 13px;
  color: #fff;
}

.small-round-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #252525;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}

.small-round-btn:hover {
  background: #7c3aed;
  transform: rotate(-45deg);
}

.title-box {
  grid-column: 2;
  grid-row: 1;
  background: #131316;
  justify-content: center;
  padding: 30px;
}

.tiny-purple {
  font-size: 30px;
  color: #9b5cff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.big-name {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.05;
}

@keyframes ring-breathe {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(124, 58, 237, 0.35),
      0 0 22px rgba(124, 58, 237, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(124, 58, 237, 0.15),
      0 0 36px rgba(124, 58, 237, 0.28);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hollow {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
  color: transparent;
}

.social-box {
  grid-column: 3;
  grid-row: 1;
  justify-content: space-between;
}

.social-label {
  font-size: 11px;
  color: #9b5cff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.social-desc {
  margin-top: 0.5rem;
}

.icon-row {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.icon-square {
  width: 58px;
  height: 58px;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
}

.icon-square:hover {
  border-color: #7c3aed;
  color: #9b5cff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.right-col {
  grid-column: 4;
  grid-row: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.latest-box {
  flex: 1;
  background: #131316;
  gap: 8px;
  border-radius: 18px 18px 0 0;
}

.photo-wrap {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.work-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.numbers-box {
  background: #131316;
  justify-content: space-between;
  text-align: center;
  border-radius: 0 0 18px 18px;
  border-top: 1px solid #2a2a2a;
}

.one-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.big-num {
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.tiny-label {
  font-size: 9px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.blog-box {
  grid-column: 1;
  grid-row: 3;
  justify-content: space-between;
}

.medium-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.services-box {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  gap: 12px;
}

.four-services {
  display: flex;
  gap: 14px;
}

.one-service {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.service-icon {
  width: 62px;
  height: 62px;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #9b5cff;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
}

.service-icon:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: #7c3aed;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.22);
}

.tiny-gray {
  font-size: 11px;
  color: #fff;
  text-align: center;
}

.good-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #252525;
  border-bottom: 1px solid #252525;
  padding: 10px 0;
}

.good-text {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font-size: 11px;
  color: #9b5cff;
  background: rgba(155, 92, 255, 0.1);
  border: 1px solid rgba(155, 92, 255, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  cursor: default;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.chip:hover {
  background: rgba(155, 92, 255, 0.2);
  border-color: #9b5cff;
}

.tools-box {
  grid-column: 1 / 3;
  grid-row: 4;
  gap: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  color: #fff;
  border: 1px solid #2e2e2e;
  padding: 5px 13px;
  border-radius: 50px;
  cursor: default;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.tag:hover {
  border-color: #7c3aed;
  color: #9b5cff;
}

.app-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-icon {
  width: 46px;
  height: 46px;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.app-icon:hover {
  border-color: #7c3aed;
  color: #9b5cff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.2);
}

.hire-box {
  grid-column: 3;
  grid-row: 4;
  background: #131316;
  justify-content: space-between;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 50px;
  border-top: 1px solid #252525;
}

.copy-text {
  font-size: 13px;
  color: #fff;
}

.purple-link {
  color: #9b5cff;
  text-decoration: none;
}

.foot-links {
  display: flex;
  gap: 28px;
}

.foot-links a {
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: #9b5cff;
  text-decoration: underline;
}

.box {
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  animation: fade-up 0.55s ease both;
}

.box:nth-child(1) {
  animation-delay: 0s;
}
.box:nth-child(2) {
  animation-delay: 0.08s;
}
.box:nth-child(3) {
  animation-delay: 0.15s;
}
.box:nth-child(4) {
  animation-delay: 0.22s;
}
.box:nth-child(5) {
  animation-delay: 0.28s;
}
.box:nth-child(6) {
  animation-delay: 0.34s;
}
.box:nth-child(7) {
  animation-delay: 0.4s;
}
.box:nth-child(8) {
  animation-delay: 0.46s;
}

.box:hover {
  border-color: rgba(155, 92, 255, 0.28);
  box-shadow: 0 6px 30px rgba(155, 92, 255, 0.09);
}

.title-box,
.social-box,
.blog-box,
.services-box,
.tools-box,
.hire-box {
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.title-box:hover,
.social-box:hover,
.blog-box:hover,
.services-box:hover,
.tools-box:hover,
.hire-box:hover {
  transform: translateY(-3px);
}

.small-round-btn {
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.small-round-btn:hover {
  background: #7c3aed;
  transform: rotate(-45deg);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .box,
  .face-img,
  .service-icon,
  .app-icon,
  .icon-square {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .wrapper {
    grid-template-columns: 190px 1fr 1fr 190px;
    padding: 20px 30px;
  }

  nav {
    padding: 16px 30px;
  }

  footer {
    padding: 18px 30px;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 14px 24px;
  }

  footer {
    padding: 16px 24px;
  }

  .wrapper {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 16px 24px;
  }

  .person-box {
    grid-column: 1;
    grid-row: auto;
    gap: 16px;
  }

  .title-box {
    grid-column: 2;
    grid-row: auto;
  }

  .social-box {
    grid-column: 1;
    grid-row: auto;
  }

  .right-col {
    grid-column: 2;
    grid-row: 2 / 5;
  }

  .blog-box {
    grid-column: 1;
    grid-row: auto;
  }

  .services-box {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .tools-box {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .hire-box {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .big-name {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 14px 16px;
  }

  nav .links {
    display: none;
  }

  nav .right-side {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    background: #131316;
    border-bottom: 1px solid #252525;
    flex-direction: column;
    gap: 0;
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .mobile-menu a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    border-bottom: 1px solid #1e1e1e;
    transition:
      color 0.2s,
      background 0.2s;
  }

  .mobile-menu a:hover {
    color: #9b5cff;
    background: #1a1a1e;
  }

  .menu-toggle:checked ~ .mobile-menu {
    display: flex;
    max-height: 300px;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 18px 16px;
  }

  .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 12px 16px;
    gap: 10px;
  }

  .person-box {
    grid-column: 1;
    grid-row: auto;
  }

  .title-box {
    grid-column: 1;
    grid-row: auto;
  }

  .social-box {
    grid-column: 1;
    grid-row: auto;
  }

  .right-col {
    grid-column: 1;
    grid-row: auto;
    min-height: 400px;
  }

  .blog-box {
    grid-column: 1;
    grid-row: auto;
  }

  .services-box {
    grid-column: 1;
    grid-row: auto;
  }

  .four-services {
    flex-wrap: wrap;
  }

  .one-service {
    flex: 1 1 40%;
  }

  .tools-box {
    grid-column: 1;
    grid-row: auto;
  }

  .hire-box {
    grid-column: 1;
    grid-row: auto;
  }

  .big-name {
    font-size: 34px;
  }

  .tiny-purple {
    font-size: 18px;
  }

  .face-img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 400px) {
  .wrapper {
    padding: 10px 12px;
    gap: 8px;
  }

  nav {
    padding: 12px;
  }

  .big-name {
    font-size: 28px;
  }

  .big-purple-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .one-service {
    flex: 1 1 100%;
  }
}
